#+TITLE: Debug Adapter Protocol #+AUTHOR: Christopher James Hayward #+EMAIL: chris@chrishayward.xyz #+PROPERTY: header-args:emacs-lisp :tangle dap.el :comments org #+PROPERTY: header-args:shell :tangle no #+PROPERTY: header-args :results silent :eval no-export :comments org #+OPTIONS: num:nil toc:nil todo:nil tasks:nil tags:nil #+OPTIONS: skip:nil author:nil email:nil creator:nil timestamp:nil The Debug Adapter Protocol (DAP) defines the abstract protocol used between a development tool (Emacs) and a debugger[fn:1]. * Config 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: + Java + Ruby + Python + Elixir + LLDB (C/C++/Obj-C/Swift) #+begin_src emacs-lisp (use-package dap-mode :commands (dap-debug)) #+end_src * Footnotes [fn:1] https://microsoft.github.io/debug-adapter-protocol/ [fn:2] https://github.com/emacs-lsp/dap-mode