Use the Toggle Breakpoint button from the Browser toolbar to set or unset a breakpoint on the line of logic where the caret is currently positioned in any JADE method. When a breakpoint is set, the selected line of logic is then highlighted in yellow (or the selected color of your choice). When a breakpoint is unset, the current line is no longer highlighted.
You can also set breakpoints from the Debugger window.
Breakpoints assist you in analyzing your logic, by interrupting execution of your logic. When you run a JADE application and the debugger is activated, the debugger stops before executing a line of logic that contains a breakpoint.
Include breakpoints at important points in your logic so that you can observe the flow of logic and determine the values of items. Breakpoints are invalid for blank lines, lines that contain only comments, and end instruction lines.
By default, the lines on which breakpoints are set (debug lines) are highlighted in yellow. You can change these display colors by using the Editor sheet of the Preferences dialog, accessed from the Preferences command in the Options menu of browse windows.
For more details, see Chapter 7.