add -debug flag, for attaching debugger
Merge branch 'overhaul' of darwin:scout into overhaul