Specifying pid <process id> on the command line or executing the attach command causes the debugger to take control of the process indicated.