-
Notifications
You must be signed in to change notification settings - Fork 30.6k
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
Support interactive variables in launch configurations #7026
Comments
@weinand I checked out the branch and the code looks good. Though I have some things which I would change, would your prefer:
Both work equally fine for me 😊 |
@isidorn my code is not meant as a PR, it was just code that I wrote to unblock me. Since you are the owner of the launch config variable substitution you should implement this feature. |
Pushed a first version of this to master, check it out and let me know what you think. |
@isidorn looks great! I've released "Attach to Process" support for node-debug to master. |
I pushed the change that dimissing hte process picker silently aborts the debug session - let me know if we should show an info message in that case. Also feedback on following wording is welcome. When extension writer hovers over When there is an interactive variable which is not contributed we say: 'Adapter {0} does not contribute variable {1} that is specified in launch configuration.' |
@isidorn if an action variable is used multiple times in a launch config, the associated command should only be run once. The reason behind this is as follows: |
…g, the associated command should only be run once #7026
@weinand pushed a fix that should take care of this issue - so an action will get triggered only once even if it occurs multiple times in launch.json |
This is a feature required for #6569.
For details please see my prototype in the andre/pickervariables branch:
https://github.com/Microsoft/vscode/blob/andre/pickervariables/src/vs/workbench/parts/debug/electron-browser/debugService.ts#L564
The text was updated successfully, but these errors were encountered: