Process-level debugger
pdebug [-esv] device
This utility provides access to process-level debugging from a remote host. To use pdebug, you need to run devc-pty on the target machine (i.e. the machine being debugged).
For a 57600 baud serial connection on /dev/ser2:
pdebug /dev/ser2,57600 &
For a TCP/IP connection on port 8000:
pdebug 8000 &
"Debugging" in the Compiling & Debugging chapter of the Programmer's Guide