buggregator / server

Buggregator is a lightweight, standalone server that offers a range of debugging features for PHP applications.
https://buggregator.dev/
Other
648 stars 23 forks source link

Ray Dump support #24

Closed menthol closed 9 months ago

menthol commented 1 year ago

Hello,

I don't see the compatibility with Ray dump anymore, did you remove it? Is it planned in a future version?

butschster commented 1 year ago

Hi! Yes, it's planned after we bring in order a new frontend. Maybe in 2 weeks.

menthol commented 1 year ago

I can help for the frontend part

butschster commented 1 year ago

https://myray.app/

butschster commented 1 year ago

image

butschster commented 1 year ago

Hi @menthol I've just finished working on module https://github.com/buggregator/spiral-app/pull/39. I didn't finish only mailable type. If you want you can try to finish and maybe polish frontend. There is storybook with all required mocks for ray components.

If you have time, I would appreciate if you test the module!

Semdevmaster commented 1 year ago

Ray integration in Laravel doesn't work in any recent releases: dev, lastest, rc I am using docker and compose

docker-compose.yml

    buggregator:
      image: ghcr.io/buggregator/server:dev
      container_name: buggregator-${APP_HOST}
      ports:
        - 8000:8000
      networks:
        - docker-server

.env part

RAY_HOST=buggregator
RAY_PORT=8000

The ray() function works in the code, but the buggregator interface is empty, while Symphony var_dumper works fine!

There is an error in the browser console image

butschster commented 1 year ago

@Semdevmaster thx for your response!

I found out a problem and seems it's not on PHP side, but on ]nginx side](https://github.com/buggregator/spiral-app/blob/master/docker/nginx/default.conf#L11).

Ray server uses root path for sending requests, but I redirect all urls that not starts with /api to node server. I'll try to make up a solution!

butschster commented 1 year ago

@Semdevmaster I've just release a new version, could you try it?

HydroMoon commented 1 year ago

@butschster I can confirm still this issue exist.

MacOs
.env
RAY_HOST=host.docker.internal
RAY_PORT=23517

Nothing appear in log however SMTP is working fine with:
MAIL_HOST=host.docker.internal
MAIL_PORT=1025

image

This is when used with javascript. When used with Laravel nothing happen on the output

Edit: The port is changed according to my docker command docker run --pull always -p 23517:8000 -p 1025:1025 -p 9912:9912 -p 9913:9913 -d ghcr.io/buggregator/server:dev

Semdevmaster commented 1 year ago

@Semdevmaster I've just release a new version, could you try it?

I checked the latest version (rc-4) - error still exists

daronspence commented 1 year ago

Hi, might be unrelated, but i notice that eloquent models are sent with ->toArray() in Buggregator. Is this intentional?

I see it has an eloquent_model tag but that doesn't help much when using Polymorphism in the calling location :(

Maybe I have a setting incorrectly applied? I'm using the docker compose install method.

CleanShot 2023-06-09 at 21 40 22@2x
FluffyDiscord commented 1 year ago

Any updates on this?

butschster commented 9 months ago

I think the problem was solved and I can close the issue. If someone has a new problems, let me know! Thx for help! Join our discord!