Removed the exit with debug.