Replaced ptvsd with debugpy

This commit is contained in:
Andrew Scott 2022-02-25 14:54:20 -05:00
parent c8bf6db666
commit 47fc34da28
Signed by: a
GPG key ID: 3EB62D0BBB8DB381

View file

@ -251,8 +251,8 @@
:hook ((python-mode . dap-ui-mode) :hook ((python-mode . dap-ui-mode)
(python-mode . dap-mode)) (python-mode . dap-mode))
:config :config
(dap-ui-mode 1) ;(dap-ui-mode 1)
(dap-tooltip-mode 1) ;(dap-tooltip-mode 1)
(eval-when-compile (eval-when-compile
(require 'cl-lib)) (require 'cl-lib))
(require 'dap-python) (require 'dap-python)
@ -305,6 +305,12 @@
(setq lsp-tex-server 'digestif) (setq lsp-tex-server 'digestif)
;; Python ;; Python
(use-package python-mode
:config
(require 'dap-python)
:custom
(dap-python-debugger 'debugpy))
(use-package lsp-pyright (use-package lsp-pyright
:hook (python-mode . (lambda () :hook (python-mode . (lambda ()
(require 'lsp-pyright) (require 'lsp-pyright)