AttachDebugger[,attach]
Attach the debugger to a running process.

arguments
  arg1: Process Identifier (PID) of the running process.

result
This command will give control back to the user after the system breakpoint is reached. It will set $pid and $hp/$hProcess variables.