302 <dd> |
302 <dd> |
303 dictionary of named parameters for the command |
303 dictionary of named parameters for the command |
304 </dd> |
304 </dd> |
305 </dl><a NAME="DebuggerInterfacePython.__startProcess" ID="DebuggerInterfacePython.__startProcess"></a> |
305 </dl><a NAME="DebuggerInterfacePython.__startProcess" ID="DebuggerInterfacePython.__startProcess"></a> |
306 <h4>DebuggerInterfacePython.__startProcess</h4> |
306 <h4>DebuggerInterfacePython.__startProcess</h4> |
307 <b>__startProcess</b>(<i>program, arguments, environment=None</i>) |
307 <b>__startProcess</b>(<i>program, arguments, environment=None, workingDir=None</i>) |
308 <p> |
308 <p> |
309 Private method to start the debugger client process. |
309 Private method to start the debugger client process. |
310 </p><dl> |
310 </p><dl> |
311 <dt><i>program</i></dt> |
311 <dt><i>program</i> (str)</dt> |
312 <dd> |
312 <dd> |
313 name of the executable to start (string) |
313 name of the executable to start |
314 </dd><dt><i>arguments</i></dt> |
314 </dd><dt><i>arguments</i> (list of str)</dt> |
315 <dd> |
315 <dd> |
316 arguments to be passed to the program (list of string) |
316 arguments to be passed to the program |
317 </dd><dt><i>environment</i></dt> |
317 </dd><dt><i>environment</i> (dict of str)</dt> |
318 <dd> |
318 <dd> |
319 dictionary of environment settings to pass |
319 dictionary of environment settings to pass |
320 (dict of string) |
320 </dd><dt><i>workingDir</i> (str)</dt> |
321 </dd> |
321 <dd> |
322 </dl><dl> |
322 directory to start the debugger client in |
323 <dt>Returns:</dt> |
323 </dd> |
324 <dd> |
324 </dl><dl> |
325 the process object (QProcess) or None |
325 <dt>Returns:</dt> |
|
326 <dd> |
|
327 the process object |
|
328 </dd> |
|
329 </dl><dl> |
|
330 <dt>Return Type:</dt> |
|
331 <dd> |
|
332 QProcess or None |
326 </dd> |
333 </dd> |
327 </dl><a NAME="DebuggerInterfacePython.__writeJsonCommandToSocket" ID="DebuggerInterfacePython.__writeJsonCommandToSocket"></a> |
334 </dl><a NAME="DebuggerInterfacePython.__writeJsonCommandToSocket" ID="DebuggerInterfacePython.__writeJsonCommandToSocket"></a> |
328 <h4>DebuggerInterfacePython.__writeJsonCommandToSocket</h4> |
335 <h4>DebuggerInterfacePython.__writeJsonCommandToSocket</h4> |
329 <b>__writeJsonCommandToSocket</b>(<i>cmd</i>) |
336 <b>__writeJsonCommandToSocket</b>(<i>cmd</i>) |
330 <p> |
337 <p> |
795 </p><p> |
802 </p><p> |
796 It closes our socket and shuts down |
803 It closes our socket and shuts down |
797 the debug client. (Needed on Win OS) |
804 the debug client. (Needed on Win OS) |
798 </p><a NAME="DebuggerInterfacePython.startRemote" ID="DebuggerInterfacePython.startRemote"></a> |
805 </p><a NAME="DebuggerInterfacePython.startRemote" ID="DebuggerInterfacePython.startRemote"></a> |
799 <h4>DebuggerInterfacePython.startRemote</h4> |
806 <h4>DebuggerInterfacePython.startRemote</h4> |
800 <b>startRemote</b>(<i>port, runInConsole, venvName, originalPathString</i>) |
807 <b>startRemote</b>(<i>port, runInConsole, venvName, originalPathString, workingDir=None</i>) |
801 <p> |
808 <p> |
802 Public method to start a remote Python interpreter. |
809 Public method to start a remote Python interpreter. |
803 </p><dl> |
810 </p><dl> |
804 <dt><i>port</i> (int)</dt> |
811 <dt><i>port</i> (int)</dt> |
805 <dd> |
812 <dd> |
812 <dd> |
819 <dd> |
813 name of the virtual environment to be used |
820 name of the virtual environment to be used |
814 </dd><dt><i>originalPathString</i> (str)</dt> |
821 </dd><dt><i>originalPathString</i> (str)</dt> |
815 <dd> |
822 <dd> |
816 original PATH environment variable |
823 original PATH environment variable |
|
824 </dd><dt><i>workingDir</i> (str)</dt> |
|
825 <dd> |
|
826 directory to start the debugger client in |
817 </dd> |
827 </dd> |
818 </dl><dl> |
828 </dl><dl> |
819 <dt>Returns:</dt> |
829 <dt>Returns:</dt> |
820 <dd> |
830 <dd> |
821 client process object, a flag to indicate a network connection |
831 client process object, a flag to indicate a network connection |
826 <dd> |
836 <dd> |
827 tuple of (QProcess, bool, str) |
837 tuple of (QProcess, bool, str) |
828 </dd> |
838 </dd> |
829 </dl><a NAME="DebuggerInterfacePython.startRemoteForProject" ID="DebuggerInterfacePython.startRemoteForProject"></a> |
839 </dl><a NAME="DebuggerInterfacePython.startRemoteForProject" ID="DebuggerInterfacePython.startRemoteForProject"></a> |
830 <h4>DebuggerInterfacePython.startRemoteForProject</h4> |
840 <h4>DebuggerInterfacePython.startRemoteForProject</h4> |
831 <b>startRemoteForProject</b>(<i>port, runInConsole, venvName, originalPathString</i>) |
841 <b>startRemoteForProject</b>(<i>port, runInConsole, venvName, originalPathString, workingDir=None</i>) |
832 <p> |
842 <p> |
833 Public method to start a remote Python interpreter for a project. |
843 Public method to start a remote Python interpreter for a project. |
834 </p><dl> |
844 </p><dl> |
835 <dt><i>port</i> (int)</dt> |
845 <dt><i>port</i> (int)</dt> |
836 <dd> |
846 <dd> |
843 <dd> |
853 <dd> |
844 name of the virtual environment to be used |
854 name of the virtual environment to be used |
845 </dd><dt><i>originalPathString</i> (str)</dt> |
855 </dd><dt><i>originalPathString</i> (str)</dt> |
846 <dd> |
856 <dd> |
847 original PATH environment variable |
857 original PATH environment variable |
|
858 </dd><dt><i>workingDir</i> (str)</dt> |
|
859 <dd> |
|
860 directory to start the debugger client in |
848 </dd> |
861 </dd> |
849 </dl><dl> |
862 </dl><dl> |
850 <dt>Returns:</dt> |
863 <dt>Returns:</dt> |
851 <dd> |
864 <dd> |
852 client process object, a flag to indicate a network connection |
865 client process object, a flag to indicate a network connection |