Skip to content

Commit 1a0d0a7

Browse files
committed
chore: change debug env
1 parent 09bcd94 commit 1a0d0a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/logger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export class Logger {
6868
}
6969

7070
export const debugLog = (msg: string) => {
71-
const isDebug = process.env.DEBUG === 'true';
71+
const isDebug = process.env.DEBUG === 'rsbuild' || process.env.DEBUG === '*';
7272
if (isDebug) {
7373
console.log(DEBUG_LOG_TITLE + msg);
7474
}

0 commit comments

Comments
 (0)