Add a feature for debug builds to prompt to attach a debugger.