Add attaching/detaching functionality

Develop simple debugger further by adding the possibility to attach to a
process. For now, debugger only resumes process after pressing any key.