public void GetDescription() { var flags = new enum_PORT_SUPPLIER_DESCRIPTION_FLAGS[1]; Assert.AreEqual(VSConstants.S_OK, _portSupplier.GetDescription(flags, out string text)); Assert.AreEqual( "The Stadia transport lets you select an instance from the Qualifier drop-down " + "menu and remotely attach to an existing process on that instance", text); }
public int GetDescription(enum_PORT_SUPPLIER_DESCRIPTION_FLAGS[] pdwFlags, out string pbstrText) { pbstrText = "Allows debugging a J process on a remote machine running any OS, if it can be connected to via TCP, " + "and the process has enabled remote debugging by importing 'ptvsd' module and invoking 'ptvsd.enable_attach()'. " + "Specify the secret, hostname and port to connect to in the 'Qualifier' textbox, e.g. 'secret@localhost:5678'. "; if (!_useSsl) { pbstrText += "This transport is not secure, and should not be used on a network that might have hostile traffic."; } return 0; }
/// <summary> /// Retrieves the description for the port supplier. (http://msdn.microsoft.com/en-us/library/bb457978.aspx) /// </summary> /// <param name="pdwFlags"> Metadata flags for the description. </param> /// <param name="pbstrText"> Description of the port supplier. </param> /// <returns> VSConstants.S_OK. </returns> public int GetDescription(enum_PORT_SUPPLIER_DESCRIPTION_FLAGS[] pdwFlags, out string pbstrText) { pbstrText = m_description; return VSConstants.S_OK; }
public int GetDescription(enum_PORT_SUPPLIER_DESCRIPTION_FLAGS[] pdwFlags, out string pbstrText) { pbstrText = "Allows debugging a Python process on a remote machine running any OS, if it can be connected to via TCP, " + "and remote debugging has been enabled by using the 'ptvsd' module. " + "Specify the secret, hostname and port to connect to in the 'Qualifier' textbox, e.g. 'tcp://secret@localhost:5678'. "; return VSConstants.S_OK; }
int IDebugPortSupplierDescription2.GetDescription(enum_PORT_SUPPLIER_DESCRIPTION_FLAGS[] flags, out string text) { text = StringResources.PSDescription; return HR.S_OK; }
public int GetDescription(enum_PORT_SUPPLIER_DESCRIPTION_FLAGS[] pdwFlags, out string pbstrText) { pbstrText = "Allows attaching to an R Interactive window to debug the code executed in it."; return VSConstants.S_OK; }
public int GetDescription(enum_PORT_SUPPLIER_DESCRIPTION_FLAGS[] pdwFlags, out string pbstrText) { pbstrText = "Allows attaching to Node.js processes running behind a remote debug proxy (RemoteDebug.js). " + "Related documentation can be found under the 'Tools\\Node.js Tool\\Remote Debug Proxy' menu. " + "Specify the target hostname and debugger port in the 'Qualifier' textbox, e.g. 'targethost:" + NodejsConstants.DefaultDebuggerPort + "'. " + "This transport is not secure, and should not be used on a network that might have hostile traffic."; return VSConstants.S_OK; }