Skip to content

Update PowerShell Console and ISE to allow debug step into Invoke-Command remote #2827

Closed

Description

Currently you cannot step into an "Invoke-Command -cn " statement inside a PowerShell script. It would be great if this worked. Remote debugging is available so it would involve setting up the Invoke-Command remote runspace to run in debug step mode, and then wiring the runspace into the console or ISE debugger events.

Also it would be good to have the console or ISE automatically drop into the debugger if Invoke-Command runs a remote script that stops at a break point.

Activity

  1. added
    WG-Interactive-Debugging
    WG-Remoting
    on Dec 1, 2016
  2. PaulHigin commented on Feb 22, 2017

    @PaulHigin
    ContributorAuthor

    This issue is being addressed in PR #3015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Resolution-FixedWG-Interactive-DebuggingWG-Remoting

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions