Open jink opened 7 years ago
Can you replace "lein" with "C:\Users\John.lein\bin\lein" in launch.json and give it another try?
@indiejames thank you. Adding the full path to lein in the commandLine helped in my case.
@indiejames thank you. Adding "C:\Users\John.lein\bin\lein.bat" worked for me.
The absolute path helped (with double \
in the path). I get a follow-up error in the debug console:
Launch requestListening for transport dt_socket at address: 8030
REPL server launch timed out.
Error encountered performing task 'repl' with profile(s): 'base,system,user,provided,dev,debug-repl'
REPL server launch timed out.
Is there any way to alter the timeout time?
I increased the timeout in project.clj
, but after the nREPL loaded, vscode stated: Debug adapter process has terminated unexpectedly
again.
Turns out I had a typo: I was missing an extra \
in my lein path in VS Code's settings.
Hello! Well, I've just installed Leiningen for the first time. And got the same subj error and "Starting RELP" in VS Code status line with demo project.
But I don't have "C\Users\[username]\.lein\bin " directory. I only see "c:\Users\[username]\.lein\self-installs\" with leiningen-2.7.1-standalone.jar
inside.
What does it mean?
I have lein.bat file in other directory. Should "clojure.leinPath" show this way?
Well, I made a value of $lein-path
as a directory of lein.bat and subj error has gone.
Environment
Description
Debug adapter process has terminated unexpectedly
Steps to Reproduce
launch.json { "version": "0.2.0", "configurations": [
] }
settings.json // Absolute path to the lein command "clojure.leinPath": "C:\Users\John\.lein\bin\lein",
// Absolute path to the tools.jar file (JAVA JDI jar file) "clojure.toolsJar": "C:\Program Files\Java\jdk1.8.0_60\lib\tools.jar",