Setting the target

If you're debugging locally, you don't need to specify the target (or you can specify target procfs).

If you're debugging remotely, you need to specify the target to use:

target qnx com_port_specifier | host:port | pty

The pty option spawns a pdebug server on the local machine and connects via a pty.

The devc-pty manager must be running on the machine that's running pdebug, and a ptyp/ttyp pair must be available.