Only enable WebProfiler for dev and test.