Last active
November 4, 2018 02:22
-
-
Save constrict0r/e5cb059fad014d1928e829e27202df8f to your computer and use it in GitHub Desktop.
Directory variables to enable pdb on emacs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Directory Local Variables | |
;; Activate 'amanita' virtual enviroment from emacs. | |
((nil . ((pyvenv-workon . "amanita")))) | |
;; Must run on shell: cp /usr/bin/pdb3 ~/.virtualenvs/amanita/bin/pdb | |
;; And change #! /usr/bin/python3 for #! /home/constrict0r/.virtualenvs/amanita/bin/python. | |
;; First time on emacs must call a shell an install the package to work: | |
;; M-x RET shell RET python setup.py install RET. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment