diff --git a/lib/internal/main/worker_thread.js b/lib/internal/main/worker_thread.js index c5a729b5721f94..fd3502e0784a1a 100644 --- a/lib/internal/main/worker_thread.js +++ b/lib/internal/main/worker_thread.js @@ -45,7 +45,7 @@ const publicWorker = require('worker_threads'); patchProcessObject(); setupDebugEnv(); -const debug = require('util').debuglog('worker'); +const debug = require('internal/util/debuglog').debuglog('worker'); setupWarningHandler();