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?
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.
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.