https://github.com/svaante/dape#

Given that eglot has been part of the core emacs, I believe this is a long lasting wish for a lot of emacsers that has finally been fulfilled. (a stand alone DAP implementation that does not rely on LSP-mode)

  • JDRiverRunB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    How would you attach a DAP python debugger to a running instance of (i)Python? Is there some import debugpy; debugpy.start() command or similar?

    • FreeAd7233OPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I believe this is out of the scope of the DAP protocol, I believe even VSCode cannot do it based on my understanding.

      If you want to debug a running session, just use ipdb or pdb.