-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
Extend scenarios when dynamic configuration providers will be shown for Run and Debug #193828
Comments
fyi @connor4312 for ideas |
Hot take: the same problems we think we're trying to solve already exist for non-dynamic debuggers. NodeJS shows up for me when I'm in a .NET app today, so it's already not 'smart' in that sense, and I just feel that showing dynamic providers could map to the same model. |
Two questions from this:
|
@timheuer yes - that is a correct hot take! We have this heuristic to determine what debugger to use, and we use that heuristic whenever there is NO launch.json file. Thus we use it to decide what dynamic configuration provider to use, what debug extension to ask to try to launch without a launch.json etc... No, there is not way to make initial configuration provider use the machine storage instead of launch.json. What I tried to say in my initial comment, is that we have to improve the general heuristic for auto-picking a debugger. However since this is a problem that we have for all languages since day 1 of vscode I suggest that we wait for @roblourens to chime in. He is currently focused on Copilot Chat work so it might take a bit of time. Thanks for understanding. |
Thats the issue, we want F5 to show the We dont use initial configuration providers because we want the configurations to be saved in the machine memory. |
Automatic (dynamic) debug providers are only displayed when there is an active file. If a user tries to Run and Debug without an active file, the dynamic debug providers are not shown.
This feature request is looking to enhance the hueristic used to determine when to show the automatic debug configuration providers.
Hueristic proposals:
I'm also open to other heurestics other folks might have in mind.
The text was updated successfully, but these errors were encountered: