TorqueScript Reference

- Main Page
- Related Pages
- Modules
- Classes

Functions
Telnet Debugger
Function Categories

## Functions
void | dbgDisconnect ()
Boolean | dbgIsConnected ()
void | dbgSetParameters (int port, string password, bool waitForClient)

## Detailed Description

## Function Documentation

void dbgDisconnect | ( |  | ) |

Forcibly disconnects any attached script debugging client.

Returns
  No Return Value

Boolean dbgIsConnected | ( |  | ) |

Returns
  Returns true if a script debugging client is connected else return false.

void dbgSetParameters | ( | int | port,
|  | string | password,
|  | bool | waitForClient
| ) |  |

Open a debug server port on the specified port, requiring the specified password, and optionally waiting for the debug client to connect.

Parameters

  port | The IP port to set the password on.
  password | The password for this port. Set this to a NULL string to clear the password for the port.

Returns
  No return value