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 IsDebuggingRemoteRunspace sooner for attach #1815

Conversation

SeeminglyScience
Copy link
Collaborator

Since we're not setting DebugContext.IsActive sooner, we also need to set IsDebuggingRemoteRunspace early as well. Otherwise DoOneRepl sees IsActive, but not in a breakpoint, and stops debugging.

Since we're not setting `DebugContext.IsActive` sooner, we also need to
set `IsDebuggingRemoteRunspace` early as well. Otherwise `DoOneRepl`
sees `IsActive`, but not in a breakpoint, and stops debugging.
@SeeminglyScience SeeminglyScience requested a review from a team May 26, 2022 18:40
@andyleejordan andyleejordan merged commit bb5f44e into PowerShell:master Jun 6, 2022
@SeeminglyScience SeeminglyScience deleted the fix-attach-to-process-again branch June 7, 2022 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants