Patrick Meinecke
Patrick Meinecke
Sorry I meant `AddCommand`. But yeah ideally. That said, we *were* using it and switched a little bit before I joined I think. So I imagine there was a reason,...
> I routinely have module function implementations in .PS1 files and I dot-source them from .PSM1 files. While I'm developing the functions, I would open the .PS1 file in VS...
`Get-History` is still dirty FWIW. Until an option is added to the debugger API to skip adding to history, there won't really be a good way to fix that though...
Can you check `[IntPtr]::Size` in the pwsh window you are opening code.cmd from?
Personally I'd really like to see some work put into this extension's API to give the community the tools to provide a separate extension with this functionality.
Oof that's a good point. C++ has a UI for when it's searching references that makes it look mildly better than just stuck, we may want to look into how...
We do kinda do that already, just immediately instead of on demand.
Could have sworn @rjmholt started on one somewhere but I can't seem to find it. Am I misremembering that?
Yeah even debugging outside of VSCode seems to fall apart in this scenario. We may want to consider automatically resuming in this case, and suggest debugging these scenarios be done...
It'd be nice to have a better error message here, but this is still a case of needing re-entrance in PSReadLine. Now that attach to process works, I think that's...