I have a LAMP web server running as a web server. I'm debugging its PHP code using Xdebug and PhpStorm.
I use Firefox with Xdebug helper enabled to send HTTP request to the web server, PhpStorm catches that request and starts debugging.
Now, I want PhpStorm to catch and debug any HTTP request to the web server (not only requests from Firefox+Xdebug helper). For example, I want to send HTTP requests via CURL/BURPSUITE for debugging purpose.
How can I do it?
If you want Xdebug to always (try to) make a connection, simply set xdebug.remote_autostart=1
in php.ini. Then regardless of whether the cookie (that the Firefox extension sets) is present, Xdebug will make a connection to your IDE.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With