microsoft / poshtools

PowerShell integration for Visual Studio
http://www.visualstudio.com/
Apache License 2.0
139 stars 18 forks source link

[Remote Debugging] Debug-Runspace Produces Output #651

Open MrayerMSFT opened 9 years ago

MrayerMSFT commented 9 years ago

Invoking Debug-Runspace causes text to be printed to the REPL window. Although the text does not directly cause any errors, it may mislead users to thinking they can issue debugging commands through the REPL window. We should find a way to capture/silence this message.

output

ericdevg commented 9 years ago

Personal opinion, I think this brings up a bigger topic, how are we going to deal with the cmdlets for debugging(not limited to remote attaching) in REPL window, ideally I would expect we can also support cmdlets from REPL window for remote debugging as well, if that is done, this message won't be a concern, however I can foresee there are non-trivial work need to be done in order to support that[We can discuss more details and enter new task for it later]. But before we completing the story of cmdlet-based debugging, first priority let's make sure those debugging cmdlets (e.g enter-pshostprocess, etc) wont cause any unpleasant experience which can potentially trap user into(e.g hang VS, non-obvious way of recover, etc). And in terms of this message, I would leave it as it is, rather than go any specific to swallow it.