Description
Right now the VSCode PowerShell debugging experience is lacking compared to using the ISE. A great example of this is debugging commands in a module. In the ISE I can set breakpoints in a module and then run the command in the integrated console to initiate the debugging session. This seems very natural.
In VSCode, since the debugger and the interactive terminal are separate, I have to have a script that calls functions in my module and execute that script in the debugger. This is an extra step that I don't normally perform when debugging in the ISE.
Another problem I have with it is that I can't do ad-hoc debugging the way I am used to in the ISE. For instance, sometimes in an ISE debugging session I'll stop at a breakpoint and then use the debug scope to launch into ad hoc commands in the interactive console. That way I can figure out what actions can solve a particular problem while I'm in the problem's scope. This is only possible with a debugger integrated with the interactive console.
Conversely, I'm aware that the ISE's automatic dot-sourcing can be an issue if you're not careful. I believe this is a problem unique to PowerShell and there has been quite a bit of discussion on the dangers of poisoning your session with variables, functions, etc. I don't see it as too much of a problem, but I can definitely see the issue. One creative solution to this can be found in ISESteroids - there's an option to toggle the automatic dot sourcing on and off.