Debugger/DebuggerInterfaceNone.py

branch
maintenance
changeset 6646
51eefa621de4
parent 6645
ad476851d7e0
child 6892
c147620313c5
diff -r 77189681b787 -r 51eefa621de4 Debugger/DebuggerInterfaceNone.py
--- a/Debugger/DebuggerInterfaceNone.py	Sat Dec 01 11:45:24 2018 +0100
+++ b/Debugger/DebuggerInterfaceNone.py	Thu Jan 10 14:22:59 2019 +0100
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 
-# Copyright (c) 2007 - 2018 Detlev Offenbach <detlev@die-offenbachs.de>
+# Copyright (c) 2007 - 2019 Detlev Offenbach <detlev@die-offenbachs.de>
 #
 
 """
@@ -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