Richer mongo shell debugging

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Unassigned
            Reporter:
            Mickey Winters
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: