[openstreetmap/openstreetmap-website] Add debug gem (PR #5076)
Andy Allan
notifications at github.com
Wed Aug 14 14:59:23 UTC 2024
I was just using it to try to figure out something in the tests. If I put `binding.break` in the middle of the test (e.g. deep in some `assert_dom` stuff) and then run the test, it turns into the rough equivalent of an irb session. I can then type commands, inspect variables, and then exit out to allow the test to complete.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5076#issuecomment-2289051258
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5076/c2289051258 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240814/edf51a81/attachment.htm>
More information about the rails-dev
mailing list