diff options
Diffstat (limited to 'src/index.html')
-rw-r--r-- | src/index.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/index.html b/src/index.html index 23fbb6b20..d86e36de9 100644 --- a/src/index.html +++ b/src/index.html | |||
@@ -28,6 +28,9 @@ | |||
28 | require('./sentry'); | 28 | require('./sentry'); |
29 | const { isDevMode } = require('./environment-remote'); | 29 | const { isDevMode } = require('./environment-remote'); |
30 | if (isDevMode) { | 30 | if (isDevMode) { |
31 | // Here we must access `debug` directly (instead of through `preload-safe-debug`), | ||
32 | // because we need to set the log level. | ||
33 | // However, this is safe, because we aren't in a preload script. | ||
31 | const debugging = require('debug'); | 34 | const debugging = require('debug'); |
32 | debugging.enable(process.env.DEBUG); | 35 | debugging.enable(process.env.DEBUG); |
33 | 36 | ||