-
Notifications
You must be signed in to change notification settings - Fork 27
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 file base name substitution in module
configuration in launch.json
#86
Comments
@karrtikr Any update on this? Still very much interested in this feature. Would this be hard to implement? |
@janosh We've added the label of |
Any updates on this? |
You can use "Command Variable" extension to debug current module: |
@jaklan Thanks for the pointer! That's a very handy extension! |
I'd also like to see this as a native solution. |
module
configuration in launch.json
We are reserving this issue for Grace Hopper's Open Source Day, which will take place on September 22nd, 2023. If you're part of the event and would like to submit a contribution to this issue, please let us know, and we'll be happy to assign it to you. For other community members who are not participating in the event, we appreciate your interest in contributing! We kindly request that you wait until after September 22nd to work on this issue. If no one from the event has been assigned to it by then, we'll gladly assign it to you. Thank you for your understanding and support! |
Can I work on this? |
Environment data
Feature Suggestion
It would be great to be able to debug arbitrary files as modules without having to hardcode their path in
launch.json
. The best I could find was the following which at least allows to debug any file in a given directory as module.Not sure if this can be done by the Python extension or would have to be implemented by VS Code itself, but basically I'm suggesting something similar to
${fileBasenameNoExtension}
that returns the full dotted "path" to a file from a project's root?The text was updated successfully, but these errors were encountered: