Skip to content

Commit 00eb2e1

Browse files
committed
Add console.debug to the list
1 parent b55eff4 commit 00eb2e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shell-config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2018 Apple Inc. All rights reserved.
2+
* Copyright (C) 2018-2025 Apple Inc. All rights reserved.
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions
@@ -27,7 +27,7 @@ const isInBrowser = false;
2727
if (typeof console == "undefined")
2828
console = {};
2929

30-
console.debug ??= (...args) => console.log("Debug:", ...args);
30+
console.debug ??= (...args) => printErr("Debug: " + args.join(" "));
3131
console.log ??= (...args) => print(args.join(" "));
3232
console.warn ??= (...args) => printErr("Warn: " + args.join(" "));
3333
console.error ??= (...args) => printErr("Error: " + args.join(" "));

0 commit comments

Comments
 (0)