4fcab2c789
The runInTerminal reverse-request handler spawned the debuggee via ptree.spawn (which always pipes stdout) but discarded the ChildProcess after reading its PID, leaving stdout unconsumed. ptree drains only stderr; the exposed stdout stream must be read or Bun buffers it unboundedly in-process. An output-heavy debuggee therefore grew omp's memory toward OOM (measured ~3.9GB RSS for a ~2GB-output child) and its output was lost from the session. Continuously drain the child's stdout into the session output buffer via truncateOutput, bounding memory at MAX_OUTPUT_BYTES and surfacing the program's output like the adapter's own output events. Fixes #8111