Run | View Breakpoints
In this section:
|Item||Tooltip and shortcut||Description|
Alt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertCtrl+N or Alt+InsertAlt+InsertAlt+InsertCommand N or Control EnterControl N or Control EnterCommand N or Control Enter
|Click to show the list of available breakpoint types. Select the desired type to create a new breakpoint.|
|Remove Breakpoint||Click this button to remove selected breakpoints.|
|Group by File||Press this button to display breakpoints under their respective files:|
The controls of this part of the Breakpoints dialog depend on the type of the selected breakpoint.
|Option||Description||Types of breakpoints|
|Suspend||Select this check box to suspend program when a breakpoint is hit. If the check box is not selected, the program is not suspended.||All types|
|Condition||Select this check box and specify a condition for hitting a breakpoint in the text field.
A condition is a Boolean expression.
This expression should be valid at the line where the breakpoint is set, and is evaluated every time the breakpoint is reached. If the evaluation result is true, user-selected actions are performed.
If evaluation result is true, user-selected actions are performed.
If the result is false, the breakpoint does not produce any effect. If the Debugger cannot evaluate the expression, it displays the Condition evaluation error message. You can select whether you would like to stop at this breakpoint or ignore it.
|Log message to console||Select this check box if you want a log message to be displayed in the console output when the breakpoint is hit.||All types|
|Log evaluated expression||Select this check box if you wish to evaluate a certain expression at this breakpoint and to export
result to the console output.
If the expression to be evaluated is incorrect when a particular breakpoint is reached, the console output displays an error message: Unable to evaluate expression <your_expression>.
Context menu commands
|9.0+Move to group||Point to this command to move the selected breakpoint to a new group, to one of the existing groups(<group name>), or out of a group (<no group>).|
|Edit description||Choose this command to enter or change description of a breakpoint.|
Speed search of a breakpoint
- Start typing address or description of the target breakpoint:
WebStorm highlights the line with the matching address or description.