Implement 'dk' to handle signal events in debugger