diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 295d78c9eb2aa4..fa24463d3bbc64 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -1769,14 +1769,17 @@ not handle all certificate subjects correctly and should not be used. -Type: Runtime +Type: End-of-Life -`Module._debug()` is deprecated. +`Module._debug()` has been removed. The `Module._debug()` function was never documented as an officially supported API. diff --git a/lib/internal/modules/cjs/loader.js b/lib/internal/modules/cjs/loader.js index 6437b3ab218a71..87e624c9a3bc59 100644 --- a/lib/internal/modules/cjs/loader.js +++ b/lib/internal/modules/cjs/loader.js @@ -429,7 +429,6 @@ ObjectDefineProperty(Module.prototype, 'parent', { 'DEP0144', ), }); -Module._debug = pendingDeprecate(debug, 'Module._debug is deprecated.', 'DEP0077'); Module.isBuiltin = BuiltinModule.isBuiltin; /**