can not start debug, error msg: Connection to server is erroring. Shutting down server.
See original GitHub issueEnvironment
- Operating System: ArchLinux
- JDK version: jdk8-openjdk
- Visual Studio Code version: 1.24.0
- Java extension version: Language Support for Java™ by Red Hat 0.27.0
Steps To Reproduce
- install ‘Java Extension Pack’ in vscode
- install jdk8-openjdk on ArchLinux
- create an folder, then create a Helloworld.java in this folder
- clear ~/.config/Code/logs/*
- close vscode
- re-open vscode, Helloworld.java is automatically opened (so redhat.java extension is automatically actived in vscode)
- open output window, switch to ‘Lauguage support for Java’ in dropdown list
- see this error(twice in output window): [Error - 12:04:37] Connection to server is erroring. Shutting down server.
[Trace - 12:16:17] Sending request 'shutdown - (1)'.
[Error - 12:16:17] Connection to server is erroring. Shutting down server.
[Error - 12:16:17] Connection to server is erroring. Shutting down server.
Current Result
nothing happened after click debug start button, configuration below(launch.json): { “version”: “0.2.0”, “configurations”: [ { “type”: “java”, “name”: “Debug TestRunner”, “request”: “launch”, “cwd”: “${workspaceFolder}/bin”, “console”: “internalConsole”, “stopOnEntry”: false, “sourcePaths”: [ “${workspaceRoot}/src/com/xx/oo/” ], “classPaths”: [ “${workspaceRoot}/bin” ], “mainClass”: “TestRunner”, “args”: “” } ] }
Expected Result
debug procedure started and stopped on my breakpoint.
Additional Informations
There is no any eclipse components install on my system, cause I saw there is two parts of redhat.java extension which one part is eclipse.jdt.ls
. Is this matters ?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Connection to server is erroring. Shutting down server.
can not start debug, error msg: Connection to server is erroring. Shutting down server.
Read more >Error: Unable to Start Debugging on the Web Server
The debugger cannot connect to the remote computer If you are debugging locally, open your project properties in Visual Studio and make sure ......
Read more >Connection to server is erroring. Shutting down server.
Hello everyone. This time I want to share a very strange problem I encountered. After I updated Al Language, many errors occurred. Error:...
Read more >Troubleshoot WorkSpaces issues - AWS Documentation
My users receive the message, "Something went wrong: An error occurred while launching your WorkSpace" when they attempt to sign in to the...
Read more >Troubleshooting Common Issues | Salesforce for VSCode
If you don't see any SFDX commands in the command palette, make sure that ... VS Code uses the Apex Language Server to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
How do I find output-log file by “java.trace.server”: “verbose” ?
Thanks for reply, It is indeed my project’s problem. This error do not exists after I change my project to MAVEN project.
This issue can close now ~