debug switch as inlined const value and build tag
rename debug switching files
refactor getProjectKey out of HTTP handler