diff --git a/src/js/internal/debugger.ts b/src/js/internal/debugger.ts index 0c66c12b10bb7a..d8b0d0bf9e4860 100644 --- a/src/js/internal/debugger.ts +++ b/src/js/internal/debugger.ts @@ -422,8 +422,8 @@ async function connectToUnixServer( let connectionOptions; if (unix.startsWith("unix:")) { unix = unescapeUnixSocketUrl(unix); - if (unix.startsWith("unix:")) { - unix = unix.substring("unix:".length); + if (unix.startsWith("unix://")) { + unix = unix.substring("unix://".length); } connectionOptions = { unix }; } else if (unix.startsWith("tcp:")) {