This commit is contained in:
Michiel Borkent 2020-04-12 17:05:17 +02:00
parent 0657cfd13f
commit 71c3f9ad5c

View file

@ -89,8 +89,8 @@ Editor plugins known to work with the babashka nREPL server:
The babashka nREPL server does not write an `.nrepl-port` file at startup, but The babashka nREPL server does not write an `.nrepl-port` file at startup, but
you can easily write a script that launches the server and writes the file: you can easily write a script that launches the server and writes the file:
``` clojure ``` clojure
#!/usr/bin/env bb #!/usr/bin/env bb
(import [java.net ServerSocket] (import [java.net ServerSocket]
[java.io File] [java.io File]
@ -107,7 +107,7 @@ you can easily write a script that launches the server and writes the file:
(spit ".nrepl-port" nrepl-port) (spit ".nrepl-port" nrepl-port)
(.deleteOnExit (File. ".nrepl-port")) (.deleteOnExit (File. ".nrepl-port"))
(.waitFor proc)) (.waitFor proc))
``` ```
### Debugging the nREPL server ### Debugging the nREPL server