Open MrayerMSFT opened 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.
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.