Removing and deactivating debugs