We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bca6ec commit fd56384Copy full SHA for fd56384
packages/common/utils/debug.js
@@ -1,6 +1,7 @@
1
const getDebugger = () => {
2
if (
3
process.env.NODE_ENV === 'production' &&
4
+ typeof document !== 'undefined' &&
5
document.location.search.indexOf('debug') === -1
6
) {
7
// Return a debugger that will log to sentry
0 commit comments