diff --git a/lib/handlers/bin.js b/lib/handlers/bin.js
index <HASH>..<HASH> 100644
--- a/lib/handlers/bin.js
+++ b/lib/handlers/bin.js
@@ -637,6 +637,8 @@ module.exports = Observable.extend({
         if (notification) tip_type = 'notification';
         if (error) tip_type = 'error';
 
+        var is_production = (req.cookies && req.cookies.debug) ? false : helpers.production;
+
         res.render('index', {
           tips: '{}',
           revision: bin.revision || 1,
@@ -652,8 +654,8 @@ module.exports = Observable.extend({
           analytics: analytics,
           token: req.session._csrf,
           custom_css: config && config.css,
-          scripts: helpers.production ? false : scripts.app,
-          is_production: helpers.production,
+          scripts: is_production ? false : scripts.app,
+          is_production: is_production,
           root: root,
           static: helpers.urlForStatic(),
           bincount: user.bincount,
dynamic method of switching to debug in production