Skip to content

Debug does not save launch.json before starting #125259

@MarByteBeep

Description

@MarByteBeep

Issue Type: Bug

I have "Save before start" enabled in the config, yet it doesn't seem to notice the saved changes until I run the app again. Steps to repro:

  • change launch.json
  • press F5
  • observe that the changes are not in effect
  • press F5 again
  • changes are now in effect

Manually saving the launch.json before hitting F5 does seem to work. The weird thing is that in both cases the physical file was updated correctly. Somehow VS still uses the older version (cached?) when using "Save before start".

VS Code version: Code 1.56.2 (054a929, 2021-05-12T17:13:13.157Z)
OS version: Windows_NT x64 10.0.19042

Metadata

Metadata

Assignees

Labels

author-verification-requestedIssues potentially verifiable by issue authorbugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesinsiders-releasedPatch has been released in VS Code Insiderson-release-notesIssue/pull request mentioned in release notesregressionSomething that used to work is now brokenverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions