795 </p><p> |
795 </p><p> |
796 It closes our socket and shuts down |
796 It closes our socket and shuts down |
797 the debug client. (Needed on Win OS) |
797 the debug client. (Needed on Win OS) |
798 </p><a NAME="DebuggerInterfacePython.startRemote" ID="DebuggerInterfacePython.startRemote"></a> |
798 </p><a NAME="DebuggerInterfacePython.startRemote" ID="DebuggerInterfacePython.startRemote"></a> |
799 <h4>DebuggerInterfacePython.startRemote</h4> |
799 <h4>DebuggerInterfacePython.startRemote</h4> |
800 <b>startRemote</b>(<i>port, runInConsole, interpreter</i>) |
800 <b>startRemote</b>(<i>port, runInConsole, venvName</i>) |
801 <p> |
801 <p> |
802 Public method to start a remote Python interpreter. |
802 Public method to start a remote Python interpreter. |
803 </p><dl> |
803 </p><dl> |
804 <dt><i>port</i></dt> |
804 <dt><i>port</i> (int)</dt> |
805 <dd> |
805 <dd> |
806 port number the debug server is listening on (integer) |
806 port number the debug server is listening on |
807 </dd><dt><i>runInConsole</i></dt> |
807 </dd><dt><i>runInConsole</i> (bool)</dt> |
808 <dd> |
808 <dd> |
809 flag indicating to start the debugger in a |
809 flag indicating to start the debugger in a |
810 console window (boolean) |
810 console window |
811 </dd><dt><i>interpreter</i></dt> |
811 </dd><dt><i>venvName</i> (str)</dt> |
812 <dd> |
812 <dd> |
813 interpreter to be used to execute the remote |
813 name of the virtual environment to be used |
814 side (string) |
814 </dd> |
815 </dd> |
815 </dl><dl> |
816 </dl><dl> |
816 <dt>Returns:</dt> |
817 <dt>Returns:</dt> |
817 <dd> |
818 <dd> |
818 client process object, a flag to indicate a network connection |
819 client process object (QProcess), a flag to indicate |
819 and the name of the interpreter in case of a local execution |
820 a network connection (boolean) and the name of the interpreter |
820 </dd> |
821 in case of a local execution (string) |
821 </dl><dl> |
|
822 <dt>Return Type:</dt> |
|
823 <dd> |
|
824 tuple of (QProcess, bool, str) |
822 </dd> |
825 </dd> |
823 </dl><a NAME="DebuggerInterfacePython.startRemoteForProject" ID="DebuggerInterfacePython.startRemoteForProject"></a> |
826 </dl><a NAME="DebuggerInterfacePython.startRemoteForProject" ID="DebuggerInterfacePython.startRemoteForProject"></a> |
824 <h4>DebuggerInterfacePython.startRemoteForProject</h4> |
827 <h4>DebuggerInterfacePython.startRemoteForProject</h4> |
825 <b>startRemoteForProject</b>(<i>port, runInConsole, interpreter</i>) |
828 <b>startRemoteForProject</b>(<i>port, runInConsole, venvName</i>) |
826 <p> |
829 <p> |
827 Public method to start a remote Python interpreter for a project. |
830 Public method to start a remote Python interpreter for a project. |
828 </p><dl> |
831 </p><dl> |
829 <dt><i>port</i></dt> |
832 <dt><i>port</i> (int)</dt> |
830 <dd> |
833 <dd> |
831 port number the debug server is listening on (integer) |
834 port number the debug server is listening on |
832 </dd><dt><i>runInConsole</i></dt> |
835 </dd><dt><i>runInConsole</i> (bool)</dt> |
833 <dd> |
836 <dd> |
834 flag indicating to start the debugger in a |
837 flag indicating to start the debugger in a |
835 console window (boolean) |
838 console window |
836 </dd><dt><i>interpreter</i></dt> |
839 </dd><dt><i>venvName</i> (str)</dt> |
837 <dd> |
840 <dd> |
838 interpreter to be used to execute the remote |
841 name of the virtual environment to be used |
839 side (string) |
842 </dd> |
840 </dd> |
843 </dl><dl> |
841 </dl><dl> |
844 <dt>Returns:</dt> |
842 <dt>Returns:</dt> |
845 <dd> |
843 <dd> |
846 client process object, a flag to indicate a network connection |
844 client process object (QProcess), a flag to indicate |
847 and the name of the interpreter in case of a local execution |
845 a network connection (boolean) and the name of the interpreter |
848 </dd> |
846 in case of a local execution (string) |
849 </dl><dl> |
|
850 <dt>Return Type:</dt> |
|
851 <dd> |
|
852 tuple of (QProcess, bool, str) |
847 </dd> |
853 </dd> |
848 </dl> |
854 </dl> |
849 <div align="right"><a href="#top">Up</a></div> |
855 <div align="right"><a href="#top">Up</a></div> |
850 <hr /><hr /> |
856 <hr /><hr /> |
851 <a NAME="createDebuggerInterfacePython2" ID="createDebuggerInterfacePython2"></a> |
857 <a NAME="createDebuggerInterfacePython2" ID="createDebuggerInterfacePython2"></a> |