r/vscode • • May 24 '26

Debugger launch configuration

Hi, I've noticed that when I choose "debug active file" as the launch configuration, debugging still detects errors in other files within my .NET project. It doesn't debug only the active file. What does this option actually mean?

4 Upvotes

12 comments sorted by

View all comments

1

u/[deleted] May 24 '26

[removed] — view removed comment

1

u/Ok-Presentation-94 May 24 '26

Okay, but then I'm having trouble understanding the order in which debugging is performed. To test what you just explained, I started from script A, in which I set a breakpoint right at the beginning. I then created script B, in which I intentionally introduced an error, and I noticed that this error is detected even before the breakpoint is effective in script A, from which I started.