ruby-debug/ruby-debug-ide

Add Minitest as a default debug configuration

Closed this issue ยท 1 comments

๐Ÿ‘‹ any interest in adding a default minitest debug configuration? I can happily submit a PR if so.

After spending way too much time looking online for a solution for debugging failing Mintest tests in VSCode, I realized it was actually quite simple using this extension and the following config:

    {
      "cwd": "${workspaceRoot}",
      "name": "Minitest - Run at cursor position",
      "type": "Ruby",
      "request": "launch",
      "program": "${workspaceRoot}/bin/rails",
      "args": [
        "test",
        "${file}:${lineNumber}"
      ]
    }

Since RSpec is an available default configuration it would be great to also have a Minitest one.

This is the wrong repository, please ignore ๐Ÿคฆ .