src/vs/workbench/contrib/debug/node/debugAdapter.ts/StreamDebugAdapter/connect
class StreamDebugAdapter:	protected connect(readable: stream.Readable, writable: stream.Writable): void {

		this.outputStream = writable;
		this.rawData = Buffer.allocUnsafe(0);
		this.contentLength = -1;

		readable.on('data', (data: Buffer) => this.handleData(data));
	}