Skip to content

Commit 43cec9c

Browse files
committed
Add comment describing the disable
1 parent 5ea3b3c commit 43cec9c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/common/src/utils/debug.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ const getDebugger: () => (key: string) => (...message: any[]) => void = () => {
2626
const global = getGlobal() as any;
2727
// Return a debugger that will log to sentry
2828
return (key: string) => (message: string) => {
29+
// Disable it for now, seems to affect performance. That's the last thing we want
30+
// from this (https://github.com/CompuIves/codesandbox-client/issues/1671)
2931
if (false || typeof global.Raven === 'object') {
3032
try {
3133
global.Raven.captureBreadcrumb({

0 commit comments

Comments
 (0)