Skip to content

Commit

Permalink
use new breakpoint() for more Python versions
Browse files Browse the repository at this point in the history
follow up to syl20bnr#11490
  • Loading branch information
verhovsky authored and duianto committed Aug 2, 2021
1 parent ac1087e commit e2aff2c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions layers/+lang/python/funcs.el
Expand Up @@ -185,6 +185,9 @@ as the pyenv version then also return nil. This works around https://github.com/
((spacemacs/pyenv-executable-find "pudb3") "import pudb; pudb.set_trace()")
((spacemacs/pyenv-executable-find "python3.7") "breakpoint()")
((spacemacs/pyenv-executable-find "python3.8") "breakpoint()")
((spacemacs/pyenv-executable-find "python3.9") "breakpoint()")
((spacemacs/pyenv-executable-find "python3.10") "breakpoint()")
((spacemacs/pyenv-executable-find "python3.11") "breakpoint()")
(t "import pdb; pdb.set_trace()")))
(line (thing-at-point 'line)))
(if (and line (string-match trace line))
Expand Down

0 comments on commit e2aff2c

Please sign in to comment.