author | Eshel Yaron |
| Tue Mar 8 20:23:17 2022 +0200 |
committer | Jan Wielemaker |
| Wed Mar 9 09:25:21 2022 +0100 |
commit | a74a0d3cc3b67d37dc8212e6f00a8bd454f26914 |
tree | 763cbfbc6e9cea8e2e88d68cc828e30811f72d5a |
parent | a69ead87d11c0500eb233cd3430164db190c71e6 |
diff --git a/FAQ/GnuEmacs.txt b/FAQ/GnuEmacs.txt
index 5e62235..b708d1b 100644
--- a/FAQ/GnuEmacs.txt
+++ b/FAQ/GnuEmacs.txt
@@ -58,5 +58,21 @@ tag-files for finding definitions in Prolog programs. This is the
site][http://www-2.cs.cmu.edu/afs/cs.cmu.edu/project/ai-repository/ai/lang/prolog/util/ptags/0.html]].
We have a local copy of the c-code: [[ptags.tgz][<ptags.tgz>]]
+---++ Debug Adapter Protocol (DAP) server for SWI-Prolog
+
+**DAP** is a
+[[protocol][https://microsoft.github.io/debug-adapter-protocol]] that
+specifies a standard of communication between IDEs and programming
+language runtime systems for achieving interactive graphical debugging
+features. A Debug Adapter Protocol _server_ is a program that _adapts_
+the native debugger of a programming language to expose the standard
+interface defined by the DAP specification, allowing any IDE that
+implements a DAP _client_ to operate the debugger with minimal
+language-specific knowledge. For SWI-Prolog, a DAP server is
+available via the [[`debug_adapter`
+pack][https://www.swi-prolog.org/pack/list?p=debug_adapter]]. To
+enable DAP debugging in GNU Emacs, follow the instructions from:
+https://emacs-lsp.github.io/dap-mode/page/configuration/#swi-prolog
+