Add a launch config for resmoke

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Correctness
    • Correctness 2026-03-24, Correctness 2026-04-07
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I started adding a launch config, but didn't get it functional: https://github.com/10gen/mongo/tree/sleaux/launch-config

      It should show what I would like to have available, where you can add a configuration in launch.json

              {
                  "type": "mongo-shell",
                  "request": "launch",
                  "name": "Launch MongoDB Shell with Resmoke",
                  "debugPort": 9229
              }

      On running this, it will prompt you for the resmoke command you want to run, and setup the debug flag for you.

      Workflow might look like:

      • User adds breakpoints
      • User clicks the launch debug config in the Run and Debug sidebar of VSCode
      • VSCode provides a text window already started with "buildscripts/resmoke.py --suites " for the user to complete
      • On enter, VSCode runs that command with the debug flag and debugger attached
      • Debugger attaches to the shell, and VSCode stops at the breakpoints

            Assignee:
            Steve McClure
            Reporter:
            Sean Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: