You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to debug code in tests, you can do it via [`debug`](https://github.com/ruby/debug) gem:
275
275
276
276
1. Add `binding.break` to the code where you want the debugger to start.
277
-
2. Run `bazel test --test_output streamed <test>`. Streaming output is not required, but will clearly say when debugger starts.
277
+
2. Run tests with `ruby_debug` configuration: `bazel test --config ruby_debug <test>`.
278
278
3. When debugger starts, run the following in a separate terminal to connect to debugger:
0 commit comments