Unable debugging Business Central 19 onprem

weneed
Member Posts: 82
I'm trying to debug my BC19 installation but when I try I get the following error in VSCODE: Error:

In the server event log I find the following error:

My server configuration:

Can anyone help me?

In the server event log I find the following error:

My server configuration:

Can anyone help me?
0
Answers
-
DO you have correct launch.json file and your account has sufficient rights?Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
First, of course, make sure that your launch.json file is correct.
If you are completely sure about this, maybe check your AL extension version, or even better try to install the version of vsix file manually from your installation DVD to exactly match the version of your AL Code extension in Visual Studio code.0 -
There appears to be a problem with the DEBUG and Windows authentication mode on OnPrem installations. I am in contact with Microsoft0
-
Check "development" tab on service settings, find attached.
Also, try running vscode in the server. This way you can exclude any network related issues.
check also your app.json if it says:
"target": "Internal",
0 -
Could you please try this? https://docs.microsoft.com/en-us/dynamics-nav/developer/devenv-install-onprem
I would be really interested to know if it would work.
You would of course just have to locate ModernDev folder on your installation DVD in order to find thatVSIX. By installing your AL Language extension this way you will exactly match the version of your BC. (This is also sometimes needed with Docker: https://community.dynamics.com/business/b/mohanasdynamicsnavblog/posts/how-to-install-al-language-extension-using-vsix-file)
We had this internally with one of our DEVs "An internal error has occured" when Debugging and I would like to prove that this procedure with manually installing VSIX was actually the lifesaver.
Thanks0 -
Thanks to colleagues from yammer, at least in my case problem was missing PublicWebBaseUrl.
And also remember to restart VSC, not only BC service1 -
Yes problem was missing PublicWebBaseUrl0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions