doc: update output examples in debugger.md
Checklist
-
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
doc, debugger
- Update examples according to new debugger output (info added, lines reordered).
- Replace
x = 5;
by explicitglobal.x = 5;
to stress the intent to create a global variable (needed for access from debug REPL). - Add break marks (
>
) in output according to real output. - Update also the Inspector example.
Some updates are done due to previous changes in test/fixtures/break-in-module/main.js
and test/fixtures/break-in-module/mod.js
files.