Debugging in Visual Studio Code

With Visual Studio Code and the AL Language extension, you get an integrated debugger to help you inspect your code to verify that your application can run as expected. You start a debugging session by pressing F5. (https://docs.microsoft.com/it-it/dynamics-nav/developer/devenv-debugging)

To bring up the debug view, click on the debug icon in the activity bar on the side of Visual Studio Code. You can also use the keyboard shortcut Ctrl + Shift + D. 

The debug view displays all information related to debugging and has a top bar with debugging commands and configuration settings.

The Microsoft Al Language debugger can be enabled in different ways:

  • From a shortcut (F5)
  • From a palette command (Ctrl + Shift ...

Get Implementing Microsoft Dynamics 365 Business Central On-Premise - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.