...
The debug console can be accessed from a terminal program using a null-modem cable connected to the RS-232, GPIO, or VGA port (depending on the player model). Networked players can also be accessed via Telnet or SSH.
The console scope is set to the function that was running when a runtime error or STOP
statement occurred. While in the console, you can type in any BrightScript statement; it will then be compiled and executed in the current context.
...