src/vs/workbench/contrib/terminal/browser/terminalService.ts/TerminalService/toggleEscapeSequenceLogging
class TerminalService:	async toggleEscapeSequenceLogging(): Promise<void> {
		if (this.instances.length === 0) {
			return;
		}
		this._escapeSequenceLoggingEnabled = await this.instances[0].toggleEscapeSequenceLogging();
		for (let i = 1; i < this.instances.length; i++) {
			this.instances[i].setEscapeSequenceLogging(this._escapeSequenceLoggingEnabled);
		}
		await this._toggleDevTools(this._escapeSequenceLoggingEnabled);
	}