Show debug console evaluation response (#27050)

We weren't incrementing the output token when getting responses from the
debug evaluation request which caused some output to not be displayed.
(Usually the evaluation response, but that could cascade into other
output events not showing)


Release Notes:
- N/A

Co-authored-by: Remco Smits <djsmits12@gmail.com>
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
Anthony Eid
2025-03-19 01:37:32 -04:00
committed by GitHub
parent 81582cd7f3
commit d4daa0a3a2

View File

@@ -1693,6 +1693,7 @@ impl Session {
},
|this, response, cx| {
let response = response.log_err()?;
this.output_token.0 += 1;
this.output.push_back(dap::OutputEvent {
category: None,
output: response.result.clone(),