diff --git a/src/phpDebug.ts b/src/phpDebug.ts index 6917180c..9ecc2e7e 100644 --- a/src/phpDebug.ts +++ b/src/phpDebug.ts @@ -279,10 +279,6 @@ class PhpDebugSession extends vscode.DebugSession { }) connection.on('error', disposeConnection) connection.on('close', disposeConnection) - connection.on('before-execute-command', () => { - // It is about to start executing PHP code - this.sendEvent(new vscode.ContinuedEvent(connection.id)) - }) await connection.waitForInitPacket() // override features from launch.json diff --git a/src/xdebugConnection.ts b/src/xdebugConnection.ts index 4dbec618..0d48931c 100644 --- a/src/xdebugConnection.ts +++ b/src/xdebugConnection.ts @@ -679,11 +679,6 @@ export class Connection extends DbgpConnection { const data = iconv.encode(commandString, ENCODING) this._pendingCommands.set(transactionId, command) this._pendingExecuteCommand = command.isExecuteCommand - if (this._pendingExecuteCommand) { - // Since PHP execution commands block anything on the connection until it is - // done executing, emit that the connection is about to go into such a locked state - this.emit('before-execute-command') - } await this.write(data) }