File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ When you want to debug import it and call the start function:
2020-- perhaps hidden behind an env variable or whatever
2121if enable_debugger then
2222 local debugger = require " mobdebug"
23- debugger .start (" 127.0.0.1" , 18172 ) -- NOTE: the port here, this has to be the same as in your editor config
23+ debugger .start (" 127.0.0.1" , 8172 ) -- NOTE: the port here, this has to be the same as in your editor config
2424end
2525```
2626
@@ -57,7 +57,7 @@ dap.configurations.lua = {
5757
5858 -- port: (Optional: Defaults to 18172) the port on which the server is running
5959 -- Please configure the same on your client
60- port = 18172 ,
60+ port = 8172 ,
6161 },
6262}
6363```
Original file line number Diff line number Diff line change 44
55(defonce nrepl-server (atom {}))
66
7- (defn -main [& args ]
7+ (defn -main [& _ ]
88 (reset! nrepl-server (nrepl/start-server :port (or (System/getenv " NREPL_PORT" ) 45999 )))
9- (apply mobdap/-main args ))
9+ (apply mobdap/-main [ " --debug " ] ))
Original file line number Diff line number Diff line change 44
55cd " $( dirname " $0 " ) " || exit
66
7- lein with-profile dev run --debug
7+ lein with-profile dev run
Original file line number Diff line number Diff line change 300300
301301(defn handle-launch [handler message]
302302 (let [adapter (:adapter handler)
303- port (or (get-in message [:arguments :port ]) 18172 )
303+ port (or (get-in message [:arguments :port ]) 8172 )
304304 arguments (:arguments message)
305305 root-dir (:rootdir arguments)
306306 source-dirs (or (:sourcedirs arguments) [])
You can’t perform that action at this time.
0 commit comments