Removes debug mode setup for package.

This logic should be handled by medic.