我无法通过PhpStorm和Xdebug调试Laravel.
I cannot debug Laravel via PhpStorm and Xdebug.
当我尝试通过PhpStorm调试单个文件时,它可以正常工作,但是当我设置一个断点并在浏览器中尝试它时,它不起作用.
When I try to debug a single file via PhpStorm, it works fine, but when I set a breakpoint and try it on the browser, it doesn't work.
PhpStorm等待带有ide键的传入连接,并在那里停止.
PhpStorm waits for incoming connection with ide key and it stops there.
推荐答案我设置的工作流程:
要调试时:
基本上,Xdebug帮助器将成为您的触发器.如果禁用它,PhpStorm将不再调试您的代码.
Basically, the Xdebug Helper will be your trigger. If you disable it, PhpStorm no longer will debug your code.
如果您不想中继扩展,则可以转到Xdebug配置并设置:
If you don't want to relay on an extension, you can go to your Xdebug config and set:
xdebug.idekey=PHPSTORM xdebug.remote_autostart=1并且开始侦听PHP调试连接"将是您的触发器.
And "Start listening for PHP Debug Connections" will be your trigger.
更多推荐
在PhpStorm上使用浏览器时如何调试代码
发布评论