Home > Back-end >  PhpStorm Remote Debugger (xdebug) for Laravel
PhpStorm Remote Debugger (xdebug) for Laravel

Time:05-19

I've been trying to setup remote debugging through PhpStorm with xdebug for the best part of the day but have been unable to get it working despite my best efforts.

When I go to validate the deployment configuration, I get the error seen below, "Specified URL is not reachable, caused by: 'Request failed with status code 406'".

Validate Debugger Configuration error

Following the enter image description here

UPDATE 2: I have adjusted my .htaccess file and now xdebug variables appear to be getting set correctly. It still hasn't resolved the 406 error however which should rule out xdebug as the cause unless I'm still missing options.

Updated phpinfo

CodePudding user response:

May I ask whether the web service you are using is apache or nginx, if it is nginx, please modify the default port of xdebug, for example: 9003,9004

CodePudding user response:

Laravel is a PHP subset if you have well installed xdebug PHP. You can easily use it inside Laravel .

  • Related