vscode-powershell
vscode-powershell copied to clipboard
`Troubleshooting.md` has outdated info on log location
Prerequisites
- [X] I have written a descriptive issue title.
- [X] I have searched all open and closed issues to ensure it has not already been reported.
- [X] I have read the troubleshooting guide.
- [X] I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
- [X] I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
- [X] If this is a security issue, I have read the security issue reporting guidance.
Summary
Troubleshooting.md#logs says following is the log location:
Logs are located at ~/.vscode[-insiders]/extensions/ms-vscode.powershell[-preview]-
/logs. For example: ~/.vscode/extensions/ms-vscode.powershell-2019.5.1/logs
I found no logs directory at this location (%USERPROFILE%\.vscode\extensions\ms-vscode.powershell-2023.6.0 in my scenario).
I then ran the PowerShell: Open PowerShell Extension Logs Folder command, and found that logs are located at:
%APPDATA%\Code\User\globalStorage\ms-vscode.powershell\logs\<new_directory_for_each_session\
PowerShell Version
Name Value
---- -----
PSVersion 7.3.7
PSEdition Core
GitCommitId 7.3.7
OS Microsoft Windows 10.0.22621
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Visual Studio Code Version
1.83.0
e7e037083ff4455cf320e344325dacb480062c3c
x64
Extension Version
[email protected]
Steps to Reproduce
Look for vscode-powershell logs.
Visuals
No response
Logs
No response
Oh yeah I think they were moved to a VS Code provided location for extension storage...