开发者

Enable "break on error" with xDebug in PHPStorm

开发者 https://www.devze.com 2023-03-31 19:08 出处:网络
I can debug with xDebug in开发者_开发问答 PHPStorm by setting breakpoints. But I really want to jump back into IDE when runtime error has occurred (e.g. null reference).

I can debug with xDebug in开发者_开发问答 PHPStorm by setting breakpoints. But I really want to jump back into IDE when runtime error has occurred (e.g. null reference).

Is that possible?


Yes, it is now. The feature was just added to PhpStorm 7.1 release.

Blog entry with details: http://blog.jetbrains.com/phpstorm/2013/12/just-in-time-debugging-and-php-exception-breakpoints-with-phpstorm-and-xdebug/


Looks like 'xdebug.remote_mode=jit'(http://xdebug.org/docs/remote#remote_mode) configuration option will do that. I tested it with the latest PhpStorm release(2.1.3) and found that it isn't supported. Please vote - http://youtrack.jetbrains.net/issue/WI-7353

0

精彩评论

暂无评论...
验证码 换一张
取 消