Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

Visual Studio Just-In Time Debugger error when publishing from VS Code

Posted on by 227
Hi,
 
Since this morning, when trying to publish (with or without debugging) to any SaaS sandboxes from VS Code, I get a Visual Studio Just-In Time Debugger error
I do not have Visual Studio installed, only VS Code
 
 
I just click on OK and the process continues, but it's annoying.
Doesn't happen if I'm publishing on Prem.
Tried different tenant, always same behavior
 
It happens twice during the publishing process if I publish without debugging, only happens  once (2nd screenshot) if I publish with debugging
First time here 
Second time here 
Then it goes through
 
My VS Code is up to date, I haven't changed any configuration
Any idea?
 
-Julie
Categories:
  • Juliem Profile Picture
    Juliem 227 on at
    Visual Studio Just-In Time Debugger error when publishing from VS Code
    Thank you Natalie, that did the trick
  • Verified answer
    Visual Studio Just-In Time Debugger error when publishing from VS Code
    Yesterday, the AL Language extension was updated, and there might be an issue with debugging again:
     
    Check whether you are already using the latest version (11.0.825804).
    If so, try downgrading the AL Language:


  • Juliem Profile Picture
    Juliem 227 on at
    Visual Studio Just-In Time Debugger error when publishing from VS Code
    Thanks Yun Zhu for, once again, taking the time to reply to my posts
    I saw that while doing a google search early one, they are both already flagged.
     
    My co-worker has almost the same issue
    The difference is, since he has Visual Studio installed, he is getting prompted instead of getting the error message
     
    We have no idea what changed between yesterday and this morning
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,171 Super User 2024 Season 2 on at
    Visual Studio Just-In Time Debugger error when publishing from VS Code
    Hi, This is kind of weird, I just tried Sandbox for SaaS and didn't have this problem.
    You can try the following, but I'm not sure if it works for VS Code.
    Disable the Just-In-Time Debugger
     
    Hope this helps.
    Thanks.
    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,151 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,993 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans