Skip to content

Update log location in documentation #5005

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,13 +267,12 @@ your logs for any sensitive information you would not like to share online!**
"powershell.developer.editorServicesLogLevel": "Normal"
```

* Logs are located at
`~/.vscode[-insiders]/extensions/ms-vscode.powershell[-preview]-<version>/logs`.
For example: `~/.vscode/extensions/ms-vscode.powershell-2019.5.1/logs`.
* Logs are located at:
* Unix: `~/.config/Code/User/globalStorage/ms-vscode.powershell/logs`.
* Windows: `%APPDATA%\Code\User\globalStorage\ms-vscode.powershell\logs`

* In VS Code you can open and read the logs directly from the [Command Palette][]
(<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd>) with `PowerShell: Open PowerShell
Extension Logs Folder`.
(<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd>) with `PowerShell: Open PowerShell Extension Logs Folder`.

> NOTE: Don't forget to also attach the [Language Server Protocol payload
> logs](#provide-language-server-protocol-payload-logs)!
Expand Down