Protect from non-debug mode