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

Set "PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING" = "1" in the environment prior to importing debugpy #11033

Closed
fabioz opened this issue Aug 3, 2022 · 2 comments · Fixed by #11058
Closed

Comments

@fabioz
Copy link

fabioz commented Aug 3, 2022

There was a recent fix in debugpy to work properly with IPython and the fix requires that "PYDEVD_IPYTHON_COMPATIBLE_DEBUGGING" = "1" is set in the environment prior to importing debugpy.

See: microsoft/debugpy#869 (comment) for details on why a custom support was needed.

@DonJayamanne
Copy link
Contributor

@fabioz
From what I understand the suggestion is to set the env variable always for pydevd to work properly in IPython, is that correct.

@DonJayamanne DonJayamanne added notebook-debugging interactive-window-debugging and removed bug Issue identified by VS Code Team member as probable bug labels Aug 4, 2022
@fabioz
Copy link
Author

fabioz commented Aug 4, 2022

@DonJayamanne yes, when using IPython it should always be set (it'll do nothing in debupy 1.6.2 and earlier but on newer versions it should fix the issues related to stepping in IPython).

@DonJayamanne DonJayamanne removed the triage-needed Issue needs to be triaged label Aug 4, 2022
@roblourens roblourens added this to the August 2022 milestone Aug 11, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants