Valet-plus: xdebug jumps to server.php and not the project files

Created on 16 Apr 2019  Â·  3Comments  Â·  Source: weprovide/valet-plus

While using PHPStorm with valet xdebug on I can only debug the server.php of valet-plus... As you can think this is not really helpful, since I want to debug my code and not the one of valet-plus. Is there anything I misconfigured?

Most helpful comment

In PHPStorm preferences under _Language & Frameworks > PHP > Debug_ you can disable the option Force break at first line when a script is outside the project.

This works for my projects and will not stop at server.php.

All 3 comments

In PHPStorm preferences under _Language & Frameworks > PHP > Debug_ you can disable the option Force break at first line when a script is outside the project.

This works for my projects and will not stop at server.php.

I find I must add

~/(user)/.composer/weprovide/valet-plus

to my include path in PhpStorm to map breakpoints properly.

On Fri, Apr 19, 2019, 7:50 AM Koos van Egmond notifications@github.com
wrote:

Under Language & Frameworks > PHP > Debug you can disable the option Force
break at first line when a script is outside the project.

This works for my projects and will not stop at server.php.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/weprovide/valet-plus/issues/341#issuecomment-484869954,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMLLAJQYRU7NZRW34HHPPTPRGW2HANCNFSM4HGHXHEQ
.

I find I must add ~/(user)/.composer/weprovide/valet-plus to my include path in PhpStorm to map breakpoints properly.
…
On Fri, Apr 19, 2019, 7:50 AM Koos van Egmond @.*> wrote: Under Language & Frameworks > PHP > Debug you can disable the option Force break at first line when a script is outside the project. This works for my projects and will not stop at server.php. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#341 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMLLAJQYRU7NZRW34HHPPTPRGW2HANCNFSM4HGHXHEQ .

I did not have to add that. Works just fine in my Magento 2 projects though.

Also, ~/(user)/.. seems a bit double as the tilde is already referencing to the user's home path.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MikeYV picture MikeYV  Â·  4Comments

dingo-d picture dingo-d  Â·  4Comments

kupoback picture kupoback  Â·  4Comments

perteraul picture perteraul  Â·  3Comments

NurdinDev picture NurdinDev  Â·  4Comments