I compared the xdebug configuration in phpinfo between my local server and the container, both are strictly identical (except for remote_host, it's localhost on my local server, and the log paths). Now, when I run the exact same project with Docker, everything works fine but my breakpoint doesn't trigger anything. When I set up PHP>Debug and validate my configuration for xdebug, it is ok.When I enable Chrome xdebug extension and start listening for debug connections in Storm, my breakpoint (at the very start of the page execution) is catched and I can debug. I can run the project on a local apache+php5.6+xdebug2.5.5 and it works fine. I'm working on a project running on PHP 5.6, with cakePHP. I'm on ubuntu 20, runing the latest stable PHPStorm.
0 Comments
Leave a Reply. |