VS Code and Python: configure the "Run" button next to the editor tabs #20746
Labels
feature-request
Request for new features or functionality
info-needed
Issue requires more information from poster
triage-needed
Needs assignment to the proper sub-team
I have the following configuration in my
launch.json
:With this, I can easily run and debug the current script from the Run/Debug side panel:
All good, so far. But now I'd like to also be able to directly run the script from the Run button on the editor tabs:
Unfortunately, this does not work. It runs the file, but the configuration from above is not taken.
How can I add a configuration with
PYTHONPATH
etc. also for this Run button in the editor tabs?The text was updated successfully, but these errors were encountered: