-
Hello, I see that we have doc about enable XDebug for http plugin here: https://roadrunner.dev/docs/php-debugging Is it possible to apply this to grpc plugin? I tried but seems it doesn't work, here is my .rr.yaml:
My xdebug.ini:
I use VSCode with PHP Debug extension, with debug launch config below:
( value of "port", I tried both 9000 and 9003, but both don't work) My RR runs in docker container, with docker-compose.yaml below:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hey @lanphan. HTTP plugin used as a sample, but it's should be possible with any plugin which uses workers. Try to use 1 worker instead of 2 and check the number of xdebug connections, which should be by the number of the workers. |
Beta Was this translation helpful? Give feedback.
-
Hi @rustatian , Another question is, which port should I set in vscode for debug launch, port 9000 (as in rr document) or port 9003 (default port of xdebug)? |
Beta Was this translation helpful? Give feedback.
-
Thank @rustatian , It works now :). Updated my configuration:
|
Beta Was this translation helpful? Give feedback.
Thank @rustatian ,
It works now :).
Updated my configuration: