-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
mozjs already has some included Debugging facility https://github.com/mongodb/mongo/tree/master/src/third_party/mozjs/extract/js/src/debugger that we can use in the shell.
db.trap() only lets you SIGTRAP when it hits that line. the goal of this ticket would be the next step to allow interactive debugging similar to pdb.breakpoint() https://docs.python.org/3/library/functions.html#breakpoint where it drops you into a shell and you can set more breakpoints and inspect local vars.
- is related to
-
SERVER-94810 vscode integration for shell debugging
- Backlog
- related to
-
SERVER-94199 Cannot set breakpoint in jstests or mongo/shell
- Backlog