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

Fix separate-terminal debugging #656

Merged
merged 2 commits into from
Jul 22, 2024
Merged

Conversation

MatrixManAtYrService
Copy link
Contributor

@MatrixManAtYrService MatrixManAtYrService commented Jul 14, 2024

This PR reverts part of #534, which appears to have broken the ability to debug in a separate terminal (see comment there for more).

Presumably there was a reason that we wanted to close this file, but I'm not sure what that reason was. Leaving it open restored this functionality for me and nothing else bad appears to be happening 🤷 .

Maybe @inducer can suggest a better place for closing the file so that the needs of #534 are met while also not breaking separate-terminal debugging?

@MatrixManAtYrService
Copy link
Contributor Author

Fixes #598

@MatrixManAtYrService
Copy link
Contributor Author

MatrixManAtYrService commented Jul 14, 2024

I just realized there's already one for this: #638. Seems like the challenge there had to do with ensuring that the tty file is eventually closed. I'll take a crack at it...

@inducer
Copy link
Owner

inducer commented Jul 15, 2024

This looks good to me; thanks for working on it. I'll roll a release to get this out into the world.

@inducer
Copy link
Owner

inducer commented Jul 15, 2024

Ah! Just noticed that you've reverted this to draft; how come?

@MatrixManAtYrService
Copy link
Contributor Author

MatrixManAtYrService commented Jul 22, 2024

Sorry for being indecisive. I had a problem which I thought might be introduced by this change, so I got paranoid and marked it as a draft with the idea that I'd use it for a while before calling it good. As it turns out, that problem was entirely separate.

I used it for a while, and that worked well, but then I forgot to circle back and un-draft it. I'll do that now.

@MatrixManAtYrService MatrixManAtYrService marked this pull request as ready for review July 22, 2024 01:53
@inducer inducer merged commit b9c8737 into inducer:main Jul 22, 2024
8 checks passed
@inducer
Copy link
Owner

inducer commented Jul 22, 2024

Thanks!

@inducer
Copy link
Owner

inducer commented Jul 22, 2024

https://pypi.org/project/pudb/2024.1.2/

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

Successfully merging this pull request may close these issues.

2 participants