PHPStorm - Exception breakpoints

Hi, I am trying to break on exception in a PHP script.

I use Ctrl-Shift-F8

And add a new PHP Exception breakpoint:

I am using debug mode and have listening switched on:

Manual breakpoints work fine, I am running the script from PHPStorm.

I am using the following:

PhpStorm 2017.1.4
Build #PS-171.4694.2, built on May 16, 2017
JRE: 1.8.0_112-release-736-b21 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

PHP Cli Interpreter: 7.0.9

Debugger: Xdebug 2.4.1

I would also like to add that the help page for this screen leads to a 404 error.

 

0
3 comments

Yes, I should have stated above, I have the following at the top of the script:

ini_set('xdebug.remote_mode', 'jit');
0

Andy, is that expected that you have "Disabled until selected breakpoint is hit"? Put it back to None, and it should start working.

0

Please sign in to leave a comment.