branch: externals/dape
commit a9f68bf701bede7a1e96e9f38b1ed42ba1eeb994
Author: Daniel Pettersson <[email protected]>
Commit: Daniel Pettersson <[email protected]>

    Remove pretty printing of dape--debug io prints
---
 dape.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dape.el b/dape.el
index 30f629cd1e..b0ef3b5ead 100644
--- a/dape.el
+++ b/dape.el
@@ -567,7 +567,7 @@ If NOWARN does not error on no active process."
 
 (defun dape--handle-object (process object)
   "Handle a incoming parsed OBJECT from PROCESS."
-  (dape--debug 'io "Received:\n%s" (pp-to-string object))
+  (dape--debug 'io "Received:\n%s" object)
   (when-let* ((type-string (plist-get object :type))
               (type (intern type-string)))
     (cl-case type
@@ -679,7 +679,7 @@ If NOWARN does not error on no active process."
   (let* ((object (plist-put object :seq seq))
          (json (json-serialize object :false-object nil))
          (string (format "Content-Length: %d\r\n\r\n%s" (length json) json)))
-    (dape--debug 'io "Sending:\n%s" (pp-to-string object))
+    (dape--debug 'io "Sending:\n%s" object)
     (process-send-string process string)))
 
 (defun dape-request (process command arguments &optional cb)

Reply via email to