Skip to content

Commit fc53ac3

Browse files
authored
chore: change debug env (#3)
1 parent 09bcd94 commit fc53ac3

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)