> 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/settings/diagnostics.md).

# Diagnostics

If you happen to encounter an issue with PowerShell Tools for Visual Studio, it may be helpful to enable diagnostic logging. To enable it, visit the options page within the Tools->Options menu.

![](/files/-MHrpfTmEveZzrw6VgPa)

Click on the PowerShell Tools section and check the Enable Diagnostic Logging check box. You will need to restart Visual Studio.

Logging will output to `%AppData%\PowerShell Tools for Visual Studio\log.txt`
