Skip to main content

#msdyn365bc 2023 Release Wave 2 - Open Visual Studio Code from web client to investigate or troubleshoot extensions.

HI Readers,

As Business Central 2023 Release Wave 2 Preview is announced. 

In this series we will discuss all features in detail. 

In this article we will discuss regarding - Open Visual Studio Code from web client to investigate or troubleshoot extensions.


With this feature -
  • As a developer or consultant, you can open a new Visual Studio Code session from within the web client for a specific customer production or sandbox environment. 
  • Two different contexts will be supported: Open a page from within the Page Inspector or troubleshoot the current session from within the Help and Support page.
  • If Visual Studio Code is already open, the last active session will be used; otherwise, a new Visual Studio Code will open. If the AL Language extension isn't installed, the user will be asked to install it, and the process ends.
  • The user will be asked if they want to investigate, or debug sandbox or production.
  • A new project will be created, and a matching launch configuration will be created, depending on production or sandbox environment.
  • If the user chooses to investigate, symbols for the invoked page will be added and the AL Explorer will open to easily allow browsing objects.
  • If the user chooses to debug, Visual Studio Code will attach to the web client process, which it was invoked from and await breaking on error.
  • In both cases, access to the source code will be gated by the resource exposure profile settings for each extension.


Demo Video - 


Let me know your views in comment to this article.

Regards,
Saurav Dhyani
www.sauravdhyani.com

Comments

Popular posts from this blog

VIEW SERVER STATE permission on SQL Server?

Hi all, Sometime While trying to Login into a database we face an error message as shown below. --------------------------- Microsoft Dynamics NAV Classic --------------------------- You cannot start Microsoft Dynamics NAV Classic because you do not have the VIEW SERVER STATE permission on SQL Server. Contact your system administrator. --------------------------- OK    ---------------------------

BC 21 and Higher - PowerShell Cmdlet (Replacement of Business Central Administration).

Hi Readers, As discussed in last article about deprecating of Business Central Administration, there are few common actions that we use in administration till Business Central 20. For our on-prem customers, we will still require doing activities. As Microsoft suggest we need to start using PowerShell cmdlet.    Let's see how to do those via PowerShell, or Administration Shell. I will be keep adding commands as you comment to this article.

Send Mail with Attachment From Navision.

Hi all, We have seen how to save a report into PDF and how to send mail to a customer. Let's link these two post in one i.e. Mailing statement to a customer into PDF Format. This article is part of the Series. Please Refer  Table of Content here . If you have the old objects set let me brief you what I will be changing -