Closed rafaelstz closed 6 years ago
Done :tada: !
Hi,
I've enabled XDebug with ./xdebug
command, and I got the XDebug has been enabled by seeing the PHP version.
But, I haven't succeeded in setting up PHPStorm to be able to debug Magento with it.
I'll create a wiki about it, but you can use this native PHPStorm's feature to check your PHPStorm's configuration.
Run > Web Server Debug Validation
I'm sorry, but although the web server validation test has passed, but I still get this:
is it normal that phpstorm doesn't detect debugger?
xdebug is working but do not forget to disable "Page cache" on the backend of magento2
We finally got xdebug working correctly on Windows by using ipconfig
to locate the docker IP address and then enter it as the correct remote host, as indicated on this stack overflow: https://stackoverflow.com/a/51207235
The Xdebug isn't working in Linux without enabling the xdebug.remote_connect_back in this file https://github.com/clean-docker/Magento2/blob/master/.docker/config/custom-xdebug.ini