-
Notifications
You must be signed in to change notification settings - Fork 676
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
coreclr debug configuration should support input variables for envFile
#5102
Comments
The C# extension does support 'inputs', except for |
envFile
Well, Node and Python do support input variables for Maybe @connor4312 can help by explaining how it is done, or point us to relevant code in JS debugger extension? |
I don't think how it is done in the JS debugger will be relevant -- we could make this work by reimplementing |
js-debug handles it at launch time, but you could also change this extension to resolve envFile after variables are substituted via the relatively-new post-substitution method in the resolver. |
@gregg-miskelly we came to the point in our schedule where we will need this, so I am going to try to come up with a PR if that is OK with you |
@karolz-ms Sounds great |
VS Code has a mechanism called "input variables" where debug configuration values can be resolved by running arbitrary commands, picking an item from predefined list, or prompting the user: https://code.visualstudio.com/docs/editor/variables-reference#_input-variables
Node.js and Python debug configuration providers support this mechanism. Unfortunately,
coreclr
seems to lack this support.Repro steps
Expected result
Should prompt the user for the path to the
.env
fileActual result
The text was updated successfully, but these errors were encountered: