Simplify debug
See original GitHub issueHi VS Code PM here 👋
I just followed this tutorial to setup a simple C# app and to debug it. Here’s my feedback on what I think we could improve:
- C# should consider contributing to the Editor title area menu, such that a Play button would appear in the Editor Title area. Example how to do this
- You ask the user via a notification that “things are missing to run and debug…” and your intention is to automatically create a
launch.json
. This helps the flow, but is out of the context, since user did not even trigger debugging. Instead of this I suggest that your extension simply provides a dynamicresolveDebugConfiguartion
that will provide a launch configuration on the fly. Example. That way you can generate the config when it is needed, and in memory. Alternatively: if you really want to write intolaunch.json
you should do it when the user starts debugging I think. - If the user does not see the notification it is impossible to debug since you are not resolving debug configurations on the fly
- If I have a purple no folder VS Code it is impossible to debug a simple C# file
- Consider contributing to an Empty debug view to make C# debug setup easier (C++ does this for example)
I would love if we could improve this experience, since we see in user studies that users want a confirmation that VS Code can do C#, and providing an easy way to run and debug simple C# files would be great for this.
Let me know if I can help somehow. I am also open to a quick 30 min meeting where we can discuss about the new cool VS Code debug features that C# could potentially adopt and you could let us know what are your biggest ask for the VS Code debugger.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Simplify debugging to reduce the complexity of embedded ...
Debugging embedded systems is getting more complex than ever. Thankfully, there are some practical ways to simplify the process.
Read more >Simplified Debug screen : r/minecraftsuggestions - Reddit
Simplified Debug screen · The version of the game · The player's coordinate · Biome · Light level · Weather · The direction...
Read more >SIMPLified 2 - Debugging Entitlement - Ultamation Shop
The SIMPLified 2 Debugging entitlement enables all of the SIMPL debugging related functionality of the SIMPLified 2 SIMPL programming assistant.
Read more >Simplify debug · Issue #983 · vscode-kubernetes-tools/vscode ...
Hi VS Code PM here We would love if Kubernetes debug would simplify debugging as much as possible. Currently I see that users...
Read more >If You Aren't Doing These 3 Things You Are Making ... - YouTube
Shorts. If You Aren't Doing These 3 Things You Are Making Debugging Harder. 47K views 8 months ago Shorts · Web Dev Simplified....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The omnisharp-vscode extension can contribute a
walkthrough
similar to vscode-cpptools.This is what you see with VS Code with no folder open.
This way we can get users who have the C# extension installed to open VS Code in a folder and execute
dotnet new
with a selection dialog of the choices.Here is a view of the (C++) walkthrough:
@WardenGnaw you said:
But when a user has a .cs file open in an editor and presses the editor’s Run/Debug button, it would be possible to detect the missing .net project setup and present a QuickPick with some
dotnet new <project-type>
suggestions. And after a selection is made by the user, VS Code could reopen the newly create folder and run the file, right?