The last part of this chapter deals with a developer's bread and butter (whatever language they are specialized in): the debugger.
Visual Studio Code has built-in debugging support for Node.js runtime, and is capable of debugging JavasScript, JavaScript-derived, and TypeScript languages. All other language extensions might implement their own debugger based on the Visual Studio Code debugger extension API. If you want to learn more about the Visual Studio Code debugger, check out https://code.visualstudio.com/docs/editor/debugging.
AL language debugger comes integrated with the AL language extension. Its output is surfaced on the built-in Visual Studio Code debugger View. it can be enabled in different ways from Visual Studio Code:
- Using the shortcut, F5 (start with debugging)
- From the Palette command (Ctrl + Shift + P), select AL!Publish
- From the menu...