Laravel + Valet + XDebug

Posted 2 years ago by thisismyaim

I have problem with debugging in xdebug with valet, here are my settings in config file :

[xdebug]
zend_extension="/usr/local/opt/php70-xdebug/xdebug.so"

xdebug.remote_enable=1
xdebug.idekey = "PHPSTORM"
xdebug.remote_port = 9600

But when i add break-point and click debug application it always debug server.php on root of application with this message.

Warning : The script '/Users/mandeepgill/.composer/vendor/laravel/valet/server.php' is outside of project.

What will be the issue ? this cause me debug code.

Thanks

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.