dynamic method of switching to debug in production
a note about testing