Debugger/DebuggerInterfaceNone.py

changeset 6633
c5aab2ede19a
parent 6581
8eb6220f2bb7
child 6645
ad476851d7e0
diff -r 084880ed940c -r c5aab2ede19a Debugger/DebuggerInterfaceNone.py
--- a/Debugger/DebuggerInterfaceNone.py	Sat Dec 15 16:30:36 2018 +0100
+++ b/Debugger/DebuggerInterfaceNone.py	Sat Dec 15 17:29:57 2018 +0100
@@ -38,7 +38,8 @@
         # set default values for capabilities of clients
         self.clientCapabilities = ClientDefaultCapabilities
         
-    def startRemote(self, port, runInConsole, venvName, originalPathString):
+    def startRemote(self, port, runInConsole, venvName, originalPathString,
+                    workingDir=None):
         """
         Public method to start a remote Python interpreter.
         
@@ -51,6 +52,8 @@
         @type str
         @param originalPathString original PATH environment variable
         @type str
+        @param workingDir directory to start the debugger client in
+        @type str
         @return client process object, a flag to indicate a network connection
             and the name of the interpreter in case of a local execution
         @rtype tuple of (QProcess, bool, str)
@@ -58,7 +61,7 @@
         return None, True, ""
 
     def startRemoteForProject(self, port, runInConsole, venvName,
-                              originalPathString):
+                              originalPathString, workingDir=None):
         """
         Public method to start a remote Python interpreter for a project.
         
@@ -71,6 +74,8 @@
         @type str
         @param originalPathString original PATH environment variable
         @type str
+        @param workingDir directory to start the debugger client in
+        @type str
         @return client process object, a flag to indicate a network connection
             and the name of the interpreter in case of a local execution
         @rtype tuple of (QProcess, bool, str)

eric ide

mercurial