Skip to content

Commit 6fe35d9

Browse files
committed
dap-python: handle unknown :debugger with an error
1 parent 81d3dbf commit 6fe35d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dap-python.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,8 @@ strings, for the sake of launch.json feature parity."
248248
(cl-remf conf :cwd))
249249

250250
(plist-put conf :dap-server-path
251-
(list python-executable "-m" "debugpy.adapter"))))
251+
(list python-executable "-m" "debugpy.adapter")))
252+
(_ (error "`dap-python': unknown :debugger type %S" debugger)))
252253
conf))
253254

254255
(defun dap-python--normalize-args (args)

0 commit comments

Comments
 (0)