branch: externals/dape
commit 54e160e6d74d9f7ec37a68289eca9ea85ac42169
Author: Daniel Pettersson <dan...@dpettersson.net>
Commit: Daniel Pettersson <dan...@dpettersson.net>

    Fix skip server-process creation for children of socket connections
    
    Actually remove server process creation for children of socket
    connections, this was the purpose the following commit 7fa8883.
    
    Fixes #112
---
 dape.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dape.el b/dape.el
index 3edb16e5e1..f1db5cf744 100644
--- a/dape.el
+++ b/dape.el
@@ -1830,7 +1830,7 @@ Starts a new adapter CONNs from ARGUMENTS."
 Starts a new adapter connection as per request of the debug adapter."
   (let ((config (plist-get arguments :configuration))
         (request (plist-get arguments :request)))
-    (cl-loop with socket-conn-p = (plist-get config 'port)
+    (cl-loop with socket-conn-p = (plist-get (dape--config conn) 'port)
              for (key value) on (dape--config conn) by 'cddr
              unless (or (keywordp key)
                         (and socket-conn-p (eq key 'command)))

Reply via email to