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
    ·
    11 个月前

    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
      ·
      11 个月前

      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.

  • Hammar_MortyB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 个月前

    There goes my Friday productivity 😎 All the languages I care about are already supported too!

    While deliberately not supporting launch.json makes sense the configuration looks quite friendly to adding that functionality separately.

    Thank you for working on such a desirable and challenging feature for emacs users who don’t use lsp mode

    • FreeAd7233OPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 个月前

      I am not the author of this plugin😂 just want to share this exciting news with Redditers