Docker Cannot assign requested address
I think I’m pretty close (I hope) to having xdebug running in a docker container, aiming to connect via Visual Studio Code.
I think I’m pretty close (I hope) to having xdebug running in a docker container, aiming to connect via Visual Studio Code.
The step-debugger is working fine, no issues there.
I have a strange setup on my new workplace and it works like this: if I have PhpStorm running and have “Start Listening for PHP Debug Connections” on, then my local PHP application works fine. As soon as I close PhpStorm completely (and consequently stop listening to PHP debug connections), then my webpage is not loading (nginx times out after a minute).
I’m trying to control Xdebug’s output when memory is exhausted. I find that if a very long string is passed to a function (and then memory is subsequently exhausted) Xdebug dumps the entire parameter in the stack trace without truncation.
I am trying to debug on my XAMPP using VSCode and didn’t worked. I know there are tons of questions about this and I’ve tried everything I can but still won’t work.