src/eric7/RemoteServer/EricServerDebuggerRequestHandler.py

branch
server
changeset 10610
bb0149571d94
parent 10597
fbe93720ee9f
child 10630
552a790fd9bc
diff -r b6f5e27daeb5 -r bb0149571d94 src/eric7/RemoteServer/EricServerDebuggerRequestHandler.py
--- a/src/eric7/RemoteServer/EricServerDebuggerRequestHandler.py	Fri Feb 23 16:52:01 2024 +0100
+++ b/src/eric7/RemoteServer/EricServerDebuggerRequestHandler.py	Mon Feb 26 10:41:10 2024 +0100
@@ -55,7 +55,7 @@
         # listen on the debug server socket
         self.__socket.listen()
         self.__socket.setblocking(False)
-        print(
+        print(  # noqa: M801
             f"Listening for 'debug client' connections on"
             f" {self.__socket.getsockname()}"
         )
@@ -107,6 +107,7 @@
         """
         connection, address = sock.accept()  # Should be ready to read
         print(f"'Debug client' connection from {address[0]},  port {address[1]}")
+        # noqa: M801
         connection.setblocking(False)
         self.__pendingConnections.append(connection)
 
@@ -150,7 +151,7 @@
 
             # 2. pass on the data to the eric-ide
             jsonStr = json.dumps(data)
-            print("Client Response:", jsonStr)
+            # - print("Client Response:", jsonStr)
             self.__server.sendJson(
                 category=EricRequestCategory.Debugger,
                 reply="DebugClientResponse",
@@ -316,7 +317,6 @@
         """
         debuggerId = params["debugger_id"]
         jsonStr = params["command"]
-        print(debuggerId, "->", jsonStr)
 
         if not debuggerId and self.__mainClientId and "RequestBanner" in jsonStr:
             # modify the target for the 'RequestBanner' request
@@ -332,3 +332,4 @@
                 self.__server.sendJsonCommand(jsonStr, sock)
             except KeyError:
                 print(f"Command for unknown debugger ID '{debuggerId}' received.")
+                # noqa: M801

eric ide

mercurial