---
id: post/yzhums-com/68854
type: post
title: "Dynamics 365 Business Central Blog Series: Debugging in AL"
summary: A blog series covering AL debugging techniques in Dynamics 365 Business Central, including snapshot debugging, conditional breakpoints, debugging from the web client, and advanced debugger features for development and troubleshooting.
tier: community
language: en
tags:
  - debugging
  - al development
  - visual studio code
  - breakpoints
  - snapshot debugging
  - troubleshooting
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-26T06:41:15.749Z"
  flags: []
generated:
  at: "2026-10-26T05:51:10.938Z"
  pipeline: 0.2.0
  prompts:
    extract-post: 1
  input_hash: c3c11a2825e14d5101cd95021e7d622a2e91ff80cb64ffd53553ecf3a07e574e
evidence:
  - kind: blog
    url: https://yzhums.com/68854/
    title: "Dynamics 365 Business Central Blog Series: Debugging in AL"
    date: "2025-11-07"
    commit: null
    t: null
    quote: null
  - kind: blog
    url: https://yzhums.com/68854/
    title: "Dynamics 365 Business Central Blog Series: Debugging in AL"
    date: "2025-11-07"
    commit: null
    t: null
    quote: Debugging Upgrade and Install code in Visual Studio Code
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
post_id: "68854"
source_id: yzhums-com
source_name: Dynamics 365 Lab - Yun Zhu
url: https://yzhums.com/68854/
published_at: "2025-11-07T04:03:46.000Z"
author: Yun Zhu
full_text: false
words: 792
quotes:
  - text: Debugging Upgrade and Install code in Visual Studio Code
    why_it_matters: Highlights specialized debugging capability for upgrade and install scenarios, which are critical operations in Business Central deployments
code_objects_mentioned: []
systems:
  - development
  - platform
versions_mentioned:
  - BC21
  - BC22
  - BC23
preview:
  embeddable: true
  frame_url: null
  image: https://yzhums.com/wp-content/uploads/2025/11/Snipaste_2025-11-05_14-24-53.png
  image_alt: null
  image_w: null
  image_h: null
  site_name: Dynamics 365 Lab
  favicon: https://yzhums.com/wp-content/uploads/2020/08/cropped-logo-3-32x32.png
  probed_at: "2026-10-26T06:12:22.273Z"
---

# Dynamics 365 Business Central Blog Series: Debugging in AL

[Read the post](https://yzhums.com/68854/) · Dynamics 365 Lab - Yun Zhu (Yun Zhu, MVP) · 2025-11-07 · 792 words · tier community · reviewed (checked by Opus)

> A blog series covering AL debugging techniques in Dynamics 365 Business Central, including snapshot debugging, conditional breakpoints, debugging from the web client, and advanced debugger features for development and troubleshooting.

## Key points

- Multiple debugging approaches available: snapshot debugging in cloud, conditional breakpoints, publish/debug separation with keyboard shortcuts
- Debugger enhancements include IntelliSense for variables, SQL lock visibility, and ability to exclude try functions and temporary records
- Debugging can be triggered from the web client and attached to specific user sessions or phone/tablet clients
- Advanced features include NonDebuggable attribute to protect methods, debugging upgrade/install code, and connecting to on-premises instances

## Quotes

- "Debugging Upgrade and Install code in Visual Studio Code" (Highlights specialized debugging capability for upgrade and install scenarios, which are critical operations in Business Central deployments)

## Context

- Features: Snapshot Debugging, Conditional Breakpoints, IntelliSense for Variables in Debugger, SQL Locks Visibility, NonDebuggable Attribute, Exclude Try Functions, Exclude Temporary Records, Web Client Debugging
- Versions: BC21, BC22, BC23

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.
