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
Is it possible to create an entry in the launch.json, which executes a PowerShell script or scriptblock, in the same runspace as the then to-be-launched-and-debugged script?
The reason is, I would like to reset the runspace (remove variables + background jobs, unload modules etc.) before debugging a script.
The "temporary integrated console" which was created for that purpose, unfortunately has an unfixed bug for over a year now, which prevents interactive debugging in the temporary console and therefore makes it useless to me.
Thanks!
The text was updated successfully, but these errors were encountered:
@Hypernut thanks for bringing this issue back up to our attention..unfortunately there is no configuration that achieves what you are looking for. We are currently doing significant work in the debugger and hope to resolve this issue, we will continue to track this issue with #1263
Is it possible to create an entry in the launch.json, which executes a PowerShell script or scriptblock, in the same runspace as the then to-be-launched-and-debugged script?
The reason is, I would like to reset the runspace (remove variables + background jobs, unload modules etc.) before debugging a script.
The "temporary integrated console" which was created for that purpose, unfortunately has an unfixed bug for over a year now, which prevents interactive debugging in the temporary console and therefore makes it useless to me.
Thanks!
The text was updated successfully, but these errors were encountered: