Implements TCP-server that implements XDebug protocol and provides automation interface via:
TransactionServerabstract classITransactionServerFactoryfactory
TransactionServer provides interface for XDebug debug session automation:
- HandleInit method implementation should creates initial commands to execute in debug session and register handlers for their responses
- Response handlers may register additional commands with handlers to implement command chains
- OnExit callback is executed when debug session terminates
Debug session terminates when no more command handlers are registered and all previous handlers have already been executed.