- Debugging in Visual Studio Code with AL Language extension for Dynamics 365 Business Central involves using F5 to start a debugging session.
- There are two additional modes besides F5: Ctrl+F5 for publish without debugging and Ctrl+Shift+F5 for debug without publishing.
- Using Ctrl+F5 may trigger false existing breakpoints on unpublished code.
- The Ctrl+Shift+F5 shortcut may not work for some users due to keyboard or other settings, in which case Run Without Debugging can be chosen from the Run dropdown in Visual Studio Code.
- Tips and tricks for AL Language include using Ctrl+Space for IntelliSense, always using the .al extension on new files, and utilizing built-in snippets for code.
- Building and getting inspired by the sample library on GitHub is recommended for AL Language development.
- Renaming objects and types can be done using F2, and clearing credentials cache for deploying against a different environment can be done using Ctrl+Shift+P.
- Various articles related to debugging in Dynamics 365 Business Central and new features in Business Central 2022 and 2023 are mentioned at the end of the article.
Registered users can view the full text for FREE!
Sign In Now!