Permalink
Browse files

--debug -> --inspect for Node.js debugger REPL port, deprecation

warning was breaking REPL start
  • Loading branch information...
swannodette committed Dec 5, 2017
1 parent f55b19b commit d98c00ff4607b80d78787f7044346bd24b8fd6b5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/clojure/cljs/repl/node.clj
@@ -99,7 +99,7 @@
(defn- build-process
[opts repl-env input-src]
(let [xs (cond-> [(get opts :node-command "node")]
(:debug-port repl-env) (conj (str "--debug=" (:debug-port repl-env))))
(:debug-port repl-env) (conj (str "--inspect=" (:debug-port repl-env))))
proc (-> (ProcessBuilder. (into-array xs)) (.redirectInput input-src))]
(when-let [path-fs (:path repl-env)]
(.put (.environment proc)

0 comments on commit d98c00f

Please sign in to comment.