NewsBot
1
Howdy,
I'm trying out the PowerShell hosting example application from here:
Creating a Console Application that Implements PSHostUserInterface
And I came across a problem when I set debugging:
PowerShell Console Host Sample Application
PSConsoleSample: Set-PSDebug -trace 2
PSConsoleSample: 1+1
2
PSConsoleSample: |
In the PowerShell.exe host you see a debug message between the*"1+1" and the "2" that says "Debug: 1+ 1+1."
So, my question is: How doI get the debug messages to show in my script host application?
Thanks,
H.V
More...
View All Our Microsoft Related Feeds
I'm trying out the PowerShell hosting example application from here:
Creating a Console Application that Implements PSHostUserInterface
And I came across a problem when I set debugging:
PowerShell Console Host Sample Application
PSConsoleSample: Set-PSDebug -trace 2
PSConsoleSample: 1+1
2
PSConsoleSample: |
In the PowerShell.exe host you see a debug message between the*"1+1" and the "2" that says "Debug: 1+ 1+1."
So, my question is: How doI get the debug messages to show in my script host application?
Thanks,
H.V
More...
View All Our Microsoft Related Feeds