> For the complete documentation index, see [llms.txt](https://docs.poshtools.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.poshtools.com/open-source-tools/visual-studio/chapter1.md).

# Debugging

{% embed url="<https://youtu.be/53lsdzhcKr0>" %}

You can debug local and remote scripts with the PowerShell Tools for Visual Studio. The extension also supports attaching to processes that are hosting runspaces and debugging the scripts they are executing.
