You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's probably trickier than that... the issue is that the option python - is not properly supported to automatically attach to subprocesses (python itself would read the stdin contents to execute that file).
i.e.: Output from python help: - : program read from stdin (default; interactive mode if a tty)
So, if - is passed, pydevd needs to recognize that this option is passed to the python interpreter and do the same work it'd do after having the debugger setup in the subprocess.
fabioz
changed the title
pydev debugger rewrite command line args got side effects
Handle python option to read program from stdin when rewriting arguments to attach to subprocess
Oct 9, 2019
Uh oh!
There was an error while loading. Please reload this page.
it's ok to execute via pydev run but failed via pydev debug, see:
pypa/virtualenv#1423
I think the fix may be restoring old sys.argv after rewritting command line
The text was updated successfully, but these errors were encountered: