From 3c3bc96c20c690c71baa881d6e56946ba127f428 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Thu, 2 Jan 2020 19:55:07 -0500 Subject: [PATCH] Add lola-server dap configuration --- emacs/init.org | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/emacs/init.org b/emacs/init.org index 0908620..c982e07 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -3788,6 +3788,20 @@ Some functions to make my day job easier. (leader-def-key "Lr" #'release-manager) #+END_SRC +** Debug configurations (dap) +#+BEGIN_SRC emacs-lisp + (dap-register-debug-template + "lola-server" + (list :type "python" + :args "bin/start_web.py" + :cwd (expand-file-name "~/lola/lola-server") + :env (extract-vars-from-env-file (expand-file-name "~/lola/lola-server/.env")) + :module nil + :program nil + :request "launch" + :name "lola-server")) +#+END_SRC + ** AWS-MFA The aws-mfa command: #+BEGIN_SRC emacs-lisp