From 47fc34da28cbf9c64471c666d756016feda2d7ea Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Fri, 25 Feb 2022 14:54:20 -0500 Subject: [PATCH] Replaced ptvsd with debugpy --- emacs.d/init.el | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/emacs.d/init.el b/emacs.d/init.el index 6f19ae6..dfae375 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -251,8 +251,8 @@ :hook ((python-mode . dap-ui-mode) (python-mode . dap-mode)) :config - (dap-ui-mode 1) - (dap-tooltip-mode 1) + ;(dap-ui-mode 1) + ;(dap-tooltip-mode 1) (eval-when-compile (require 'cl-lib)) (require 'dap-python) @@ -305,6 +305,12 @@ (setq lsp-tex-server 'digestif) ;; Python +(use-package python-mode + :config + (require 'dap-python) + :custom + (dap-python-debugger 'debugpy)) + (use-package lsp-pyright :hook (python-mode . (lambda () (require 'lsp-pyright)