Show debug console evaluation response (#27050)

Anthony Eid , Remco Smits , and Max Brunsfeld created

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>

Change summary

crates/project/src/debugger/session.rs | 1 +
1 file changed, 1 insertion(+)

Detailed changes

crates/project/src/debugger/session.rs 🔗

@@ -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(),