Skip to content

Commit cc9c81a

Browse files
author
Jeff Parsons
committed
fix name of debug port argument
1 parent 76cad34 commit cc9c81a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Diff for: dap-codelldb.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ With prefix, FORCED to redownload the extension."
5858
(lambda (conf)
5959
(let ((debug-port (dap--find-available-port)))
6060
(plist-put conf :program-to-start (format "%s --port %s" dap-codelldb-debug-program debug-port))
61-
(plist-put conf :debugServer debug-port))
61+
(plist-put conf :debugPort debug-port))
6262
(plist-put conf :host "localhost")
6363
(plist-put conf :type "lldb")
6464
(plist-put conf :cargo "")

Diff for: dap-mode.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,7 @@ ADAPTER-ID the id of the adapter."
11821182

11831183
(defun dap--create-session (launch-args)
11841184
"Create debug session from LAUNCH-ARGS."
1185-
(-let* (((&plist :host :dap-server-path :name session-name :debugServer port) launch-args)
1185+
(-let* (((&plist :host :dap-server-path :name session-name :debugPort port) launch-args)
11861186
(proc (if dap-server-path
11871187
(make-process
11881188
:name session-name

Diff for: dap-python.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ strings, for the sake of launch.json feature parity."
204204
(if module (concat " -m " (shell-quote-argument module)) "")
205205
(if program (shell-quote-argument program) "")
206206
(if (not (string-empty-p python-args)) (concat " " python-args) "")))
207-
(plist-put conf :debugServer debug-port)
207+
(plist-put conf :debugPort debug-port)
208208
(plist-put conf :port debug-port)
209209
(plist-put conf :hostName host)
210210
(plist-put conf :host host)))
@@ -244,7 +244,7 @@ strings, for the sake of launch.json feature parity."
244244
(host (or (plist-get connect :host) "localhost"))
245245
(port (or (plist-get connect :port) 5678)))
246246
(plist-put conf :host host)
247-
(plist-put conf :debugServer port)
247+
(plist-put conf :debugPort port)
248248
(cl-remf conf :connect)))))
249249

250250
(_ (error "`dap-python': unknown :debugger type %S" debugger)))

0 commit comments

Comments
 (0)