Debug: contribute a start view
See original GitHub issueHi 👋 VS Code dev here,
Last milestone we have introduced a Start View for debugging. More about this can be found here https://github.com/microsoft/vscode/issues/84677
Using the context key debugUx
which can have values simple
or default
any extension can contribute a view to the debug start experience.
Thus I am proposing that python considers contributing a view that can improve the start experience for new users not familar with python debugging. I am not a python expert but I suspect that there are quite some python specific actions which could be useful for new users.
If you think this is a good idea we can also work on fine tuning this start experience. We would also need to check for context keys of active editor to only show the view when the user has a python file opened.
For reference here’s a picture how the debug start view looks now for python
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:12 (6 by maintainers)
@luabud great feedback, let me try to answer those:
launch.json
, and we should help them a bit here.Let me know if this makes sense. And let me know if you are aware of other pain points users are hitting when setting up debugging. What we do depends also on what things we want to cover and we should not clutter the view at the end.
fyi @weinand aslo @connor4312 and @roblourens for potential ideas on how we could improve the start view also for Node
Ok great. So it seems like adding additional commands / buttons in the start view is the way to go here. I will also initiate discussion with some other debug extension authors to get their feedback. In this milestone we want to identify what solution would be benefitial for most extensions, and next milestone we will probably do it.
@connor4312 sounds good, let’s continue the discussion in that call @luabud as for the activation problem I have created this issue with a suggestion how to fix https://github.com/microsoft/vscode-python/issues/9557