Skip to content

Commit d765219

Browse files
committed
Reflect changes in Xdebug. The control socket attribute does not have \\.\pipe\ anymore.
1 parent 4496dd9 commit d765219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controlSocket.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class ControlSocket {
3535
if (process.platform === 'linux') {
3636
retval = await this.executeCtrlCmd(`\0${ctrlSocket}y`.padEnd(108, 'x'), 'pause')
3737
} else if (process.platform === 'win32') {
38-
retval = await this.executeCtrlCmd(ctrlSocket, 'pause')
38+
retval = await this.executeCtrlCmd(`\\\\.\\pipe\\${ctrlSocket}`, 'pause')
3939
} else {
4040
throw new Error('Invalid platform for Xdebug control socket')
4141
}

0 commit comments

Comments
 (0)