-
Notifications
You must be signed in to change notification settings - Fork 512
Language Server Process Didn’t Start #4694
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
Comments
Here's the actual location of the log directory (different than what the instructions said: 8/10/2023 3:33:58 PM [VERBOSE] - Creating log directory at: 'file:///c%3A/Users/Dick/AppData/Roaming/Code/User/globalStorage/ms-vscode.powershell/logs/1691699249-47432b06-ba74-40ce-ac79-707ffb8866ad1691699248564' When I tried to run the debugger, I get these errors: |
Can you please separate those log files? I can't tell where one ends and another starts. It looks like at some point you change some setting and allow the prompt to restart the session, and after that the status says 'running' so what's the actual state after that? |
Hope this works. Would have done this the first time, but the instructions gave the wrong location for the log files, & I couldn't find them. EditorServices.log Looks like it it worked (I think). Do you need anything else? |
I don't know what email addresses you gave GitHub 😂 |
After a lot of digging, I think I found the right place for notifications settings. Looks like you have to explicitly ask to be notified of comments on issues you’re subscribed to. Seems to defeat the purpose of subscribing. Oh well… |
I’m going through the troubleshooting page again to see if I missed anything. Re the section on Language Server Protocol Payload Logs, I’d be be happy to provide these logs if I can. The page says: Add the following setting to your settings file: powershell editor services.trace.server:verbose" I’m pretty new to VSC, so I’ve only dealt with settings on the settings page in the IDE. What's the name and location this "settings file"? Also, what folder are the "payload logs" in, and what are the log files named? |
Ok, finally found how to add "powershell editor services.trace.server:verbose" to my settings. Saved it and re-launched VSC, and got the usual error messages. But when I look in the log directory, none of the log files have changed since yesterday. So either I did something wrong, or the Language Server Protocol Payload Log is located somewhere else? |
Related on Stack Overflow: Where can I find the settings file referred to in the VS Code PowerShell extension's troubleshooting page? |
Looks like we can call off the dogs. When I started VSC yesterday morning, I set the log level to Diagnostic to see if could capture anything helpful in the log. Lo, and behold, VSC ran flawlessly without a single error! Don't have a clue why it suddenly started behaving, or what caused the problem in the first place. And, as someone wisely said, "Problems that go away by themselves tend to come back themselves." So I'm keeping my fingers crossed. |
Looks like we're done. |
Glad to hear it! |
Prerequisites
Summary
I just de-installed Visual Studio Code, downloaded version 1.81.0 from https://code.visualstudio.com/download, and installed it.
When I launched , I immediately got an error message:
PowerShell Version
Visual Studio Code Version
Extension Version
ms-vscode.powershell@2023.6.0
Steps to Reproduce
Launched the program by clicking the shortcut installed on the desktop.
Visuals
Logs
The log directory specified in the instructions does not exist, and I could not locate the files. So, originally I pressed Ctrl-Shift-P and pasted the log output here. However, the output was 30 pages long, so I deleted it after I discovered the log locations and pasted links to the individual log files.
The text was updated successfully, but these errors were encountered: