admin管理员组文章数量:1122849
I hope someone can save me from drinking and banging my head against the wall ;) I am trying to use PHPstorm instead of VScode to have a complete out-of-the-box solution.
I can't get xdebug to work; I had it working under vscode.
I am using Laravel and the artisan serve cli command to launch the website. I don't know if that is the problem.
I have setup up my php.ini this way.
My PhpStorm is setup this way
I have set the phpstorm broadcast on
I have download the chrome extension for Xdebug and turned it on.
I turned on my logging in php.ini but all it is saying is
[4840] Log opened at 2024-12-09 02:49:47.225931
[4840] [Config] INFO: Trigger value for 'XDEBUG_TRIGGER' not found, falling back to 'XDEBUG_SESSION'
[4840] [Config] INFO: Trigger value for 'XDEBUG_SESSION' not found, so not activating
I have checked Break at first line in PHP code but there are issues with this.
- it is hitting on every single client-side request file that comes down over 50 times it is hitting xdebug break at first line in php code. for laravel that is the server.php file
- It never hits my break point if I go through that cycle of continuation.
Notification is being given over and over and over again.
I hope someone can save me from drinking and banging my head against the wall ;) I am trying to use PHPstorm instead of VScode to have a complete out-of-the-box solution.
I can't get xdebug to work; I had it working under vscode.
I am using Laravel and the artisan serve cli command to launch the website. I don't know if that is the problem.
I have setup up my php.ini this way.
My PhpStorm is setup this way
I have set the phpstorm broadcast on
I have download the chrome extension for Xdebug and turned it on.
I turned on my logging in php.ini but all it is saying is
[4840] Log opened at 2024-12-09 02:49:47.225931
[4840] [Config] INFO: Trigger value for 'XDEBUG_TRIGGER' not found, falling back to 'XDEBUG_SESSION'
[4840] [Config] INFO: Trigger value for 'XDEBUG_SESSION' not found, so not activating
I have checked Break at first line in PHP code but there are issues with this.
- it is hitting on every single client-side request file that comes down over 50 times it is hitting xdebug break at first line in php code. for laravel that is the server.php file
- It never hits my break point if I go through that cycle of continuation.
Notification is being given over and over and over again.
Share Improve this question edited Dec 9, 2024 at 20:10 JustMe asked Dec 9, 2024 at 3:11 JustMeJustMe 275 bronze badges 01 Answer
Reset to default 2If Xdebug is saying "Trigger value for 'XDEBUG_SESSION' not found, so not activating" then it had not seen the cookie.
Which means that the browser extension did not set the Cookie header.
A workaround is to set xdebug.start_with_request=yes
. (https://xdebug.org/docs/step_debug#activate_debugger)
本文标签: PhpStormlaravelXdebug unable to hit my breakpointStack Overflow
版权声明:本文标题:PHPStorm, Laravel, Xdebug unable to hit my breakpoint - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736114766a1905351.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论