Launches a debug session.
debug [[-index] <index> | [-name] <debug-config-name>]
The following table lists and defines examples of the debug command.
| Command | Description |
|---|---|
| debug | Starts debugging using the default launch configuration, which is the last debugged configuration if one exists and index 0 otherwise. |
| debug -index 3 | Starts debugging using the launch configuration at index 3. Type `launch' for the current set of launch configurations. |
| debug -name 3 | Starts debugging using the launch configuration named `3'. Type `launch' for the current set of launch configurations. |
| debug 3 | Starts debugging using the launch configuration named `3'. If `3' does not exist then launch configuration with index 3 will be launched. Type `launch' for the current set of launch configurations. |
| debug {My Launch Config} | Starts debugging using the launch configuration named `My Launch Config'. Type `launch' for the current set of launch configurations. |