Mac debugger

This should be merged after this PR https://github.com/Icenium/Ice/pull/1341
This code seems like duplicated in both Win and Darwin implementations. Consider moving it to the base class along with `waitDebuggerExit`.