src/vs/workbench/contrib/debug/node/debugAdapter.ts/StreamDebugAdapter/sendMessage
class StreamDebugAdapter:	sendMessage(message: DebugProtocol.ProtocolMessage): void {

		if (this.outputStream) {
			const json = JSON.stringify(message);
			this.outputStream.write(`Content-Length: ${Buffer.byteLength(json, 'utf8')}${StreamDebugAdapter.TWO_CRLF}${json}`, 'utf8');
		}
	}