Skip to content

Commit 63623f9

Browse files
committed
log to debug/
1 parent f66c6bd commit 63623f9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

web/src/util/logger.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ function getDebugDir(): string | null {
3030
debugDir = parent
3131
}
3232

33+
if (debugDir) {
34+
debugDir = path.join(debugDir, 'debug')
35+
}
36+
3337
return debugDir
3438
}
3539

0 commit comments

Comments
 (0)