---
sourceDocument: Yokohama Build or modify applications
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/application-development

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Set or remove breakpoints

# Set or remove breakpoints {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Set breakpoints or conditional breakpoints to pause scripts at specific lines, and
remove breakpoints when you are done debugging them.

## Before you begin

Role required:

* admin
* script_debugger
{#set-remove-breakpoints__ul_vv5_3gy_ww}

## About this task

Breakpoints belong to the developer who sets them. Developers must set and remove their own breakpoints.  
Note:  
At a specific line, you can set either a logpoint or breakpoint but not both.

## Procedure

1. Navigate to the server script to debug.  
   For example, navigate to AllSystem DefinitionBusiness Rules.
2. From the Syntax Editor, click the gutter next to a script line.

   | Action | Description |
   | Set a breakpoint | Click a blank line to set a breakpoint. |
   | Set a conditional breakpoint | Right-click a blank line and click Add conditional breakpoint to set a conditional breakpoint. |
   | Remove a breakpoint | Click a breakpoint to remove it. |
   | Remove a conditional breakpoint | Right-click a conditional breakpoint and select Remove breakpoint to remove it. |
   |-|-|

   {#set-remove-breakpoints__choicetable_grl_gly_ww}
3. From the Syntax Editor toolbar, click the Open Script Debugger icon.  
   The system opens a Script Debugger window.
4. Trigger the script.  
   For example, create a record to trigger an insert business rule script.  
   The Script Debugger pauses the script on the first line containing a breakpoint, and the system displays a confirmation window.
5. Click Start Debugging.  
   The system switches focus to the Script Debugger window and displays the target script paused at the first breakpoint. Console pane is enabled.
6. When debugging is complete, remove breakpoints from the script.
{#set-remove-breakpoints__steps_q5m_mmy_ww}
**Related topics**   

* [Script Debugger step-through and console controls](https://www.servicenow.com/docs/access?context=step-through-controls&version=yokohama&pubname=yokohama-api-reference&ft:locale=en-US)

*[\>]: and then


