I showed you my source code, pls respond
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
973 B

  1. #+TITLE: Debug Adapter Protocol
  2. #+AUTHOR: Christopher James Hayward
  3. #+EMAIL: chris@chrishayward.xyz
  4. #+PROPERTY: header-args:emacs-lisp :tangle dap.el :comments org
  5. #+PROPERTY: header-args:shell :tangle no
  6. #+PROPERTY: header-args :results silent :eval no-export :comments org
  7. #+OPTIONS: num:nil toc:nil todo:nil tasks:nil tags:nil
  8. #+OPTIONS: skip:nil author:nil email:nil creator:nil timestamp:nil
  9. The Debug Adapter Protocol (DAP) defines the abstract protocol used between a development tool (Emacs) and a debugger[fn:1].
  10. * Config
  11. Use the package ~dap-mode~[fn:2] to add support for the Debug Adapter Protocol[fn:1] inside of Emacs. It has been tested against the following language servers:
  12. + Java
  13. + Ruby
  14. + Python
  15. + Elixir
  16. + LLDB (C/C++/Obj-C/Swift)
  17. #+begin_src emacs-lisp
  18. (use-package dap-mode
  19. :commands (dap-debug))
  20. #+end_src
  21. * Footnotes
  22. [fn:1] https://microsoft.github.io/debug-adapter-protocol/
  23. [fn:2] https://github.com/emacs-lsp/dap-mode