PowerShellEditorServices
PowerShellEditorServices copied to clipboard
Add debugger pseudo-variable to display "returned" value like C# debugger provides
I'm not sure if this is possible or not but it sure would be nice to have. Many times PowerShellers just let various statements "output" from the function so after you've called a function (and you don't capture the output in a variable) it is hard to tell what output the called function is contributing to the output of the current function/script.
Interesting, I haven't seen that before! That'd be really useful if possible. I found this info about how it works in Visual Studio:
https://blogs.msdn.microsoft.com/visualstudioalm/2013/06/27/seeing-function-return-values-in-the-visual-studio-2013-debugger/