From 54e160e6d74d9f7ec37a68289eca9ea85ac42169 Mon Sep 17 00:00:00 2001 From: Daniel Pettersson Date: Sun, 30 Jun 2024 14:57:58 +0200 Subject: [PATCH] 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 3edb16e5..f1db5cf7 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)))