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

Debug console launches on Run #212918

Open
webreidi opened this issue May 16, 2024 · 4 comments
Open

Debug console launches on Run #212918

webreidi opened this issue May 16, 2024 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues
Milestone

Comments

@webreidi
Copy link

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version:
  • OS Version: all

Submitting feedback from Diary study conducted, watching participants attempting to run their projects while learning C#.

Steps to Reproduce:

  1. Create a new C# project (I've reproduced this in other languages as well)
  2. Select to Run (happens when using menu and the run button.
  3. Debugger console launches and sends user into debug session.
@webreidi
Copy link
Author

@isidorn This is the debug on run issue we talked about today.

@WardenGnaw
Copy link
Member

This should be a C# Dev Kit experience issue.

This should be resolved with #209893

@webreidi
Copy link
Author

webreidi commented May 16, 2024

@roblourens No, this should not be a C# Dev Kit experience issue. Isidor was mentioning that there is a part when you run for the first time, that it could call the debugger when it shouldn't, which is why Isidor asked me to open this issue.

@isidorn isidorn assigned isidorn and unassigned roblourens May 16, 2024
@isidorn
Copy link
Contributor

isidorn commented May 16, 2024

The gist of the issue is that here https://github.com/microsoft/vscode/blob/main/src/vs/workbench/contrib/debug/browser/debugService.ts#L607
We should check if user is in debug mode. And if they are in Run mode, we do not open debug console. I can fix this in June if Rob agrees with the change.

@isidorn isidorn reopened this May 16, 2024
@isidorn isidorn added bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues labels May 16, 2024
@isidorn isidorn added this to the June 2024 milestone May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues
Projects
None yet
Development

No branches or pull requests

4 participants