Open qianch3n opened 7 years ago
Very similar issue here :point_right: https://github.com/DonJayamanne/javaVSCode/issues/17#issuecomment-257095778
Also check other issues, maybe this was already solved by other user :wink:
The first problem is solved by switching the shell back to windows powershell as I was using bash instead before. Windows uses\
, yet bash uses /
.
But still don't know how to solve the handshake failed problem.
Hi,
I am very new to Java. And I really like vscode. So I have tried to config this Java debugger for quit a while. But still can't make it. My laptop is windows 10 64bit.
My project tree is just like:
Launch.json
tasks.json
When I try to launch debug, I got errors as below:
The backslash dosen't get escaped.
Then I tried to change the
${file}
to the actual directory asd:\atom-projects\leetcode-solutions\java-solutions\${fileBasename}
. It worked but it came to problem in a command window showingDebugger failed to attach: handshake failed - connection prematurally closed.
The problems could be trivial but I really don't know how to fix it. Thank you very much for your time. Look forward to your reply. : )