37 self.queue = [] |
37 self.queue = [] |
38 # set default values for capabilities of clients |
38 # set default values for capabilities of clients |
39 self.clientCapabilities = ClientDefaultCapabilities |
39 self.clientCapabilities = ClientDefaultCapabilities |
40 |
40 |
41 def startRemote(self, port, runInConsole, venvName, originalPathString, |
41 def startRemote(self, port, runInConsole, venvName, originalPathString, |
42 workingDir=None): |
42 workingDir=None, configOverride=None): |
43 """ |
43 """ |
44 Public method to start a remote Python interpreter. |
44 Public method to start a remote Python interpreter. |
45 |
45 |
46 @param port port number the debug server is listening on |
46 @param port port number the debug server is listening on |
47 @type int |
47 @type int |
52 @type str |
52 @type str |
53 @param originalPathString original PATH environment variable |
53 @param originalPathString original PATH environment variable |
54 @type str |
54 @type str |
55 @param workingDir directory to start the debugger client in |
55 @param workingDir directory to start the debugger client in |
56 @type str |
56 @type str |
|
57 @param configOverride dictionary containing the global config override |
|
58 data |
|
59 @type dict |
57 @return client process object, a flag to indicate a network connection |
60 @return client process object, a flag to indicate a network connection |
58 and the name of the interpreter in case of a local execution |
61 and the name of the interpreter in case of a local execution |
59 @rtype tuple of (QProcess, bool, str) |
62 @rtype tuple of (QProcess, bool, str) |
60 """ |
63 """ |
61 return None, True, "" |
64 return None, True, "" |
62 |
65 |
63 def startRemoteForProject(self, port, runInConsole, venvName, |
66 def startRemoteForProject(self, port, runInConsole, venvName, |
64 originalPathString, workingDir=None): |
67 originalPathString, workingDir=None, |
|
68 configOverride=None): |
65 """ |
69 """ |
66 Public method to start a remote Python interpreter for a project. |
70 Public method to start a remote Python interpreter for a project. |
67 |
71 |
68 @param port port number the debug server is listening on |
72 @param port port number the debug server is listening on |
69 @type int |
73 @type int |
74 @type str |
78 @type str |
75 @param originalPathString original PATH environment variable |
79 @param originalPathString original PATH environment variable |
76 @type str |
80 @type str |
77 @param workingDir directory to start the debugger client in |
81 @param workingDir directory to start the debugger client in |
78 @type str |
82 @type str |
|
83 @param configOverride dictionary containing the global config override |
|
84 data |
|
85 @type dict |
79 @return client process object, a flag to indicate a network connection |
86 @return client process object, a flag to indicate a network connection |
80 and the name of the interpreter in case of a local execution |
87 and the name of the interpreter in case of a local execution |
81 @rtype tuple of (QProcess, bool, str) |
88 @rtype tuple of (QProcess, bool, str) |
82 """ |
89 """ |
83 return None, True, "" |
90 return None, True, "" |