Skip to content
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

Interactive prompt #347

Closed
Hypernut opened this issue Jul 24, 2020 · 1 comment
Closed

Interactive prompt #347

Hypernut opened this issue Jul 24, 2020 · 1 comment

Comments

@Hypernut
Copy link

I would like the option of an interactive prompt after a debug run completes. Like when running a script with the "-i" parameter: "python.exe -i myscript.py"

I tried adding "-i" as an argument in the launch.json, but the parameter does not seem to work with the debugger, it causes multiple errors and the script does not run.

@brettcannon brettcannon transferred this issue from microsoft/vscode-python Jul 27, 2020
@int19h
Copy link
Contributor

int19h commented Jul 27, 2020

If you're adding the argument directly to "pythonPath" in launch.json, i.e. something like "python -i", that won't work - it is treated as a path to the Python binary in its entirety, including any spaces etc, so those are not argument delimiters.

To be able to do this with VSCode, you'll have to wait until we implement #305.

@int19h int19h closed this as completed Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants