Proper vm_stop on debug events