Added stop debugging feature to debugger