Setting Exception Breakpoints

NOTE: Exception breakpoints are supported by XDebug only.

Before executing your scripts, you can set exception breakpoints to specify exception types or error conditions on which the debugging process will pause.

Below you can find a step by step instruction that demonstrates how to set exception breakpoints:

1. Open Breakpoints view and run Add PHP Exception Breakpoint command available in view toolbar;

add_exception_breakpoint_command.png

2. Select the exception or error types in the Add PHP Exception Breakpoint dialog and press OK to add the chosen exception breakpoints;

add_exception_breakpoint_dialog.png

Chosen exception breakpoints should be visible in the list of available breakpoints in the Breakpoints view.

add_exception_breakpoint_view.png