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.
If 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)