diff --git a/doc/api/errors.md b/doc/api/errors.md
index 68c91587ffdebe..7b6b406de0fa54 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -884,6 +884,14 @@ added: REPLACEME
An error occurred with the [debugger][].
+
+### `ERR_DEBUGGER_STARTUP_ERROR`
+
+
+The [debugger][] timed out waiting for the required host/port to be free.
+
### `ERR_DIR_CLOSED`
diff --git a/lib/internal/errors.js b/lib/internal/errors.js
index 5e6c57efcadb39..441c4f2f317171 100644
--- a/lib/internal/errors.js
+++ b/lib/internal/errors.js
@@ -832,6 +832,7 @@ E('ERR_CRYPTO_SCRYPT_NOT_SUPPORTED', 'Scrypt algorithm not supported', Error);
// Switch to TypeError. The current implementation does not seem right.
E('ERR_CRYPTO_SIGN_KEY_REQUIRED', 'No key provided to sign', Error);
E('ERR_DEBUGGER_ERROR', '%s', Error);
+E('ERR_DEBUGGER_STARTUP_ERROR', '%s', Error);
E('ERR_DIR_CLOSED', 'Directory handle was closed', Error);
E('ERR_DIR_CONCURRENT_OPERATION',
'Cannot do synchronous work on directory handle with concurrent ' +