escargot/tools/debugger/tests/do_watch.js
Máté Tokodi 9819a8de49 Debugger: add dedicated message for VSCode watch
Processing VSCode watches skips waitForResolvingPendingBreakpoints
(previously having multiple watches in VSC would call this when
processing the first watch, which would process pending messages while
trying to wait for break point changes while in eval mode (not in
waiting mode) and cause and Invalid message error and the closure of the
debgger connection when hitting the second watch message)

Allow '*.mjs' files in the python debugger

Add watches to the python debugger, add test

Signed-off-by: Máté Tokodi mate.tokodi@szteszoftver.hu
2026-03-09 08:19:57 +09:00

9 lines
139 B
JavaScript

let num_a = 100;
let num_b = 2;
var num_c = 33;
for (let i = 0; i < 10; i++) {
num_a = num_a + 45;
num_b -= 1;
num_c *= 101
}