Cannot debug with Xdebug
Hey guys i really hope someone has an idea on how to solve this!
When i try to debug my php code (by starting the program through the CLI) it just doesn't break.
PHPStorm is listening for debugging on port 9090 which is also the port I configured Xdebug with.
My OS is macOS High Sierra (10.16.6 17G65)
I am also using the correct php version. (7.0.33)
I am using the newest version of PHPStorm (2018.3.4).
I also tried everything said here: https://www.jetbrains.com/help/phpstorm/troubleshooting-php-debugging.html
When I look into the idea.log in ~/Library/Logs/PhpStorm2018.3 and then try to run my code from the terminal, I get the following two lines:
2019-02-12 17:47:45,713 [ 391717] WARN - org.jetbrains.io.BuiltInServer - unknown request, first two bytes 52 56
2019-02-12 17:47:45,932 [ 391936] WARN - org.jetbrains.io.BuiltInServer - unknown request, first two bytes 52 57
Any idea on how to solve this?
请先登录再写评论。
You can enable xdebug logging as described here and check if you can spot something relevant.
If that doesn't help - please open Help > Debug Log Settings... and add #com.jetbrains.php line.
Reproduce the issue and share the idea.log file (Help > Show log in ...) + the [xdebug] part of your php.ini file. You can also do that by contacting us directly over Help > Contact Support