Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSCode does not remember last launched configuration after Reload window #109568

Closed
dslijepcevic opened this issue Oct 28, 2020 · 5 comments
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues *not-reproducible Issue cannot be reproduced by VS Code Team member as described
Milestone

Comments

@dslijepcevic
Copy link

dslijepcevic commented Oct 28, 2020

Issue Type: Bug

It seems that after Reload window VSCode sets the active launch configuration to the first one available in launch.json instead of restoring the last one that was used.

VS Code version: Code 1.50.1 (d2e414d, 2020-10-13T15:06:15.712Z)
OS version: Windows_NT x64 10.0.19041
Remote OS version: Linux x64 4.19.128-microsoft-standard
Remote OS version: Linux x64 4.19.128-microsoft-standard

@isidorn
Copy link
Contributor

isidorn commented Oct 28, 2020

I can not reproduce this. Can you reproduce using Visual Studio Code Insiders https://code.visualstudio.com/insiders/

@microsoft microsoft deleted a comment from vscodebot bot Oct 28, 2020
@isidorn isidorn added debug Debug viewlet, configurations, breakpoints, adapter issues info-needed Issue requires more information from poster labels Oct 28, 2020
@dslijepcevic
Copy link
Author

@isidorn Yes, I can reproduce it with 1.51.0-insider, however, it seems to happen only within a Docker container or WSL and works properly with a local project.

@isidorn
Copy link
Contributor

isidorn commented Oct 29, 2020

Do you have a launch confiugration in your workspace launch.json or in your user settings file?

@dslijepcevic
Copy link
Author

I tried only with .vscode/launch.json.

@isidorn isidorn added bug Issue identified by VS Code Team member as probable bug and removed info-needed Issue requires more information from poster labels Oct 29, 2020
@isidorn isidorn added this to the Backlog milestone Oct 29, 2020
@isidorn isidorn added the *not-reproducible Issue cannot be reproduced by VS Code Team member as described label Feb 2, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Mar 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues *not-reproducible Issue cannot be reproduced by VS Code Team member as described
Projects
None yet
Development

No branches or pull requests

3 participants
@dslijepcevic @isidorn and others