Search code examples
phplaravelphpstorm

Why the debugging pointer stops at first line of 'server.php' in laravel?


I'm using PhpStorm and Laravel and when I want to debug my application, but the pointer stops at the first line of 'server.php' (you can see it in the below picture).

enter image description here


Solution

  • 1- Go to Settings > Languages & Frameworks > PHP > Debug

    2- Uncheck ' break at the first line...' options

    3-In the Run menu, uncheck 'Break at the first line in PHP scripts'

    see:

    https://stackoverflow.com/a/19185093/10573560