4

It is impossible to set a breakpoint in a dynamically-loaded script in VSCode.

They turn out to be unverified breakpoints.

Unverified breakpoint, Breakpoint ignored because generated code not found (source map problem?).

I tried various sourceMap options in the launch.json - for no avail.

Charlie
  • 22,886
  • 11
  • 59
  • 90
  • I have problem with dynamically loaded scripts as they have no extension so language is unknown and related features disabled. I have to manually set language to enable them. – TMa Jun 17 '19 at 07:55

1 Answers1

-1

I lately started putting debugger where I want the code to stop for debugging.

Charlie
  • 22,886
  • 11
  • 59
  • 90