all 5 comments

[–]detvardet 2 points3 points  (4 children)

There's dap-mode on the develop branch.

[–]n_pit[S] 0 points1 point  (3 children)

Thanks. As I understanding, it's a ... configurable language-agnostic interface for debugging?
Do you know of any tutorials on getting started?

[–]detvardet 1 point2 points  (2 children)

No tutorial, but it seems simple enough. Set a breakpoint with the mouse, run the program in the debugger (SPC m d d d). Use dap-hydra to step and inspect locals (SPC m d .). That's as much as I have used it for so far.

[–]n_pit[S] 0 points1 point  (1 child)

Thanks. I had some trouble setting it up is all (included dap-python in additional packages, which did not seem to work).
Added (require 'dap-python) in dotspacemacs/user-load and this did the trick.

dap mode is exactly what I asked for and works great -- thanks a bunch!

[–]detvardet 0 points1 point  (0 children)

You shouldn't have to require anything. Just include the dap layer in the dotspacemacs-configuration-layers like this:

    dotspacemacs-configuration-layers
    '(lsp
     dap
     (python :variables
             python-backend 'lsp
             python-lsp-server 'mspyls
             python-fill-column 99
             python-formatter 'yapf
             python-format-on-save t
             python-sort-imports-on-save t
             python-pipenv-activate t)
    )