Closed
Description
There are some cases where it's useful to create an entirely new PowerShell process instance when debugging a script. For example, when writing PowerShell classes it isn't easy to quickly make tweaks to your class code in the same session because PS classes are generated into assemblies at runtime and can't be unloaded/reloaded. In this case, creating a fresh PowerShell process for each run of the debugger would enable the developer to have a faster turnaround time when writing PowerShell code with classes.
We should add a new option in launch.json which causes our debug adapter to create a new PowerShell process, load PSES and start a fresh debug server.