community postAL Developmentcommunity - not Microsoftreviewed - checked by Opus

Dynamics 365 Business Central: How to quickly clear/remove all breakpoints in VS Code

VS Code debugging for Business Central allows developers to set breakpoints to pause code execution. This post explains two methods to clear all breakpoints at once: using the Remove All Breakpoints button in the Breakpoints tab, or adding a custom keyboard shortcut since the feature lacks a default shortcut like Visual Studio's Ctrl+Shift+F9.

post Dynamics 365 Lab

Yun Zhu · 2025-08-18 · 304 words · about 1 min

"The basic concept in debugging is the breakpoint, which is a mark that you set on a statement."

Key points

  • Breakpoints pause code execution when the debugger reaches them, helping developers inspect application behavior
  • The Breakpoints tab has a Remove All Breakpoints button for bulk clearing without removing breakpoints individually
  • VS Code doesn’t have a default shortcut for removing all breakpoints, but you can add a custom one through File > Preferences > Keyboard Shortcuts
  • Custom shortcuts like Alt+B can replicate Visual Studio’s Ctrl+Shift+F9 functionality in VS Code

Quotes

  • “The basic concept in debugging is the breakpoint, which is a mark that you set on a statement.” (Establishes the foundation of debugging methodology that the post builds upon)
  • “This shortcut does not exist by default in VS Code.” (Explains the problem the post solves - VS Code lacks the convenient breakpoint clearing shortcut available in Visual Studio)

Context

  • Features: debugger, breakpoints, keyboard shortcuts customization

Source: Dynamics 365 Lab - Yun Zhu, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.