+1 vote

My just in time debugger isn't launching anymore...

I tried:



throw new Error("Testing");

In the workflow / serverscript but none of those trigger the Visual Studio debugger.

What could be the cause?

asked in WorkFlow / Serverscript by (164 points)

1 Answer

+3 votes
Best answer

Make sure debugging for scripts is enabled: Visual Studio > Debug > Options > Just-In-Time: check "Script"

If this option is not visible for you, you may need to install more packages by going to: Visual Studio > Tools > Get tools and features > Individual components

I guess the following options are mandatory:

  • JavaScript diagnostics
  • Just-In-Time debugger
  • JavaScript and TypeScript language support
answered by (164 points)
1,249 questions
1,519 answers
328 users