How to stop xdebug from stopping on first line with PhpStorm?

前端 未结 4 972
不思量自难忘°
不思量自难忘° 2020-12-04 20:47

I\'m having this weird problem. All my settings used to work OK, until I updated my version of PHP. I use macports and have the php5 and php5-xdebug ports installed.

<
4条回答
  •  无人及你
    2020-12-04 21:24

    The above didn't work for me because as far as I can tell if you're using Xdebug the only debug bookmarklets you get is start/stop and debug this page. I don't see any bookmarklet specific to stopping on first line, and neither the start/stop bookmarklets nor stopping PHPStorm from listening within PHPStorm fixed the problem for me.

    To get it to stop I did this (on OS X):

    1. Go to Preferences > Languages & Frameworks > PHP > Debug
    2. Uncheck both of the 'force break at the first line...' options
    3. Apply and close
    4. In the Run menu, uncheck 'Break at the first line in PHP scripts'

提交回复
热议问题