# debug command (FlashBASIC Debugger)

The debug command temporarily exits
the BASIC/FlashBASIC debugger and invokes the system debugger. Issuing
a g command from the system debugger returns control
to the BASIC/FlashBASIC debugger.

The BASIC/FlashBASIC debug and de commands are identical to the TCL debug command.

## Example(s)

Press BREAK to enter the debugger.

```
*I3
***debug
I bd.d.064 => 19 b$bd.com
!!!g
```
Returns to the BASIC/FlashBASIC debugger.

```
***g
```
Resumes program execution.

Warning: The
system debugger is extremely powerful and should *not* be used without a strong working knowledge of its capabilities and
features. Using the system debugger incorrectly could result in corrupt
data or a system crash.

## See also

- [BASIC/FlashBASIC Debugger](https://d3codex.com/flashbasicdebugger/basic-flashbasic-debugger/)
- [c command (FlashBASIC Debugger)](https://d3codex.com/flashbasicdebugger/c-command-flashbasic-debugger/)
- [CTRL+J command](https://d3codex.com/flashbasicdebugger/ctrl-j-command/)
- [d command (FlashBASIC Debugger)](https://d3codex.com/flashbasicdebugger/d-command-flashbasic-debugger/)
- [de command (FlashBASIC Debugger)](https://d3codex.com/flashbasicdebugger/de-command-flashbasic-debugger/)
- [debug command (TCL commands)](https://d3codex.com/tcl/debug-command-tcl-commands/)
- [debug statement](https://d3codex.com/pickbasic-flashbasic/debug-statement/)
- [de command (FlashBASIC Debugger)](https://d3codex.com/flashbasicdebugger/de-command-flashbasic-debugger/)
- [end command (FlashBASIC Debugger)](https://d3codex.com/flashbasicdebugger/end-command-flashbasic-debugger/)
- [down command](https://d3codex.com/flashbasicdebugger/down-command/)
- [off command (FlashBASIC Debugger)](https://d3codex.com/flashbasicdebugger/off-command-flashbasic-debugger/)

---
Source: https://d3codex.com/flashbasicdebugger/debug-command-flashbasic-debugger/ - part of the D3Codex reference.
