Format: remote [log[=filename] | nolog] debug_server [arguments]
Connects to a remote target before any debugging on that target is done. Remote targets include simulators, emulators, and monitors. (See also connect.)
debug_server is the name of the debug server executable for the remote target. This debug server is generally a program that controls the remote target device, and must be designed for the target CPU that your are compiling your program for. arguments are specific to each debug server; consult your debug server documentation.
If log is specified, then a list of all transactions between MULTI and the debug server is sent to standard error. If a filename is specified after log=, then the transaction list is written to the named file instead of standard error. Generally, the output of the log option is a debugging feature to aid customers who are developing their own debug servers. remote log=filename may be specified after having connected to a debug server.
remote nolog
Stops logging and closes log file.
remote log
Enables logging again.