src/vs/workbench/contrib/debug/common/replModel.ts/ReplGroup/end
class ReplGroup:	end(): void {
		const lastElement = this.children.length ? this.children[this.children.length - 1] : undefined;
		if (lastElement instanceof ReplGroup && !lastElement.hasEnded) {
			lastElement.end();
		} else {
			this.ended = true;
		}
	}