You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be pretty cool to be able to run a script, in the PSU server, from VS Code. For example, you would click Automation \ Scripts \ Script.ps1. It opens it in VS Code. Press F5 in this script (or some other key) to invoke the script directly in the VS Code server. The debugging experience should appear like it's happening locally but would actually be taking place in the server.
We have some basic PSES integration (that doesn't work well) that could enhance to get this working. It would effectively trigger a job and write the output to the local terminal.
It might be nice to just do the job execution first and not the debugging at all. Then you could at least run the scripts and see the console output but not have to try to get all the debugging working. We could hook up the debug terminal to the local terminal. It would be a easy goal to achieve.
The benefits are that you would be running completely in the PSU environment so you would have access to variables, the modules installed on the server and other environmental conditions that are introduced due to the hosting.
The text was updated successfully, but these errors were encountered:
It would be pretty cool to be able to run a script, in the PSU server, from VS Code. For example, you would click Automation \ Scripts \ Script.ps1. It opens it in VS Code. Press F5 in this script (or some other key) to invoke the script directly in the VS Code server. The debugging experience should appear like it's happening locally but would actually be taking place in the server.
We have some basic PSES integration (that doesn't work well) that could enhance to get this working. It would effectively trigger a job and write the output to the local terminal.
It might be nice to just do the job execution first and not the debugging at all. Then you could at least run the scripts and see the console output but not have to try to get all the debugging working. We could hook up the debug terminal to the local terminal. It would be a easy goal to achieve.
The benefits are that you would be running completely in the PSU environment so you would have access to variables, the modules installed on the server and other environmental conditions that are introduced due to the hosting.
The text was updated successfully, but these errors were encountered: