Skip to content

Commit d98c00f

Browse files
author
dnolen
committed
--debug -> --inspect for Node.js debugger REPL port, deprecation
warning was breaking REPL start
1 parent f55b19b commit d98c00f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/clojure/cljs/repl/node.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
(defn- build-process
100100
[opts repl-env input-src]
101101
(let [xs (cond-> [(get opts :node-command "node")]
102-
(:debug-port repl-env) (conj (str "--debug=" (:debug-port repl-env))))
102+
(:debug-port repl-env) (conj (str "--inspect=" (:debug-port repl-env))))
103103
proc (-> (ProcessBuilder. (into-array xs)) (.redirectInput input-src))]
104104
(when-let [path-fs (:path repl-env)]
105105
(.put (.environment proc)

0 commit comments

Comments
 (0)