()
| 76 | } |
| 77 | |
| 78 | public constructor() { |
| 79 | // Don't allow unhandled promises to terminate the DA, instead send a log event |
| 80 | // to the client. |
| 81 | // TODO: Track down and fix anywhere that unhandled promises can occur! |
| 82 | process.on("unhandledRejection", (reason, promise) => { |
| 83 | this.logger.error(`UNHANDLED: ${reason}, ${promise}`); |
| 84 | }); |
| 85 | |
| 86 | super(); |
| 87 | |
| 88 | this.threadManager = new ThreadManager(this.logger, this); |
| 89 | } |
| 90 | |
| 91 | protected initializeRequest( |
| 92 | response: DebugProtocol.InitializeResponse, |