Skip to content

Commit 30084e7

Browse files
authored
Correct the :type of pytest at point debug template (#745)
The `:type` of the debug template "Python :: Run pytest (at point)" should match the "LANGUAGE-ID" argument of the function (dap-register-debug-provider), otherwise the "PROVIDE-CONFIGURATION-FN" is not called.
1 parent 2a5524b commit 30084e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dap-python.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ strings, for the sake of launch.json feature parity."
294294

295295
(dap-register-debug-provider "python-test-at-point" 'dap-python--populate-test-at-point)
296296
(dap-register-debug-template "Python :: Run pytest (at point)"
297-
(list :type "python"
297+
(list :type "python-test-at-point"
298298
:args ""
299299
:program nil
300300
:module "pytest"

0 commit comments

Comments
 (0)