fxn / zeitwerk

Efficient and thread-safe code loader for Ruby
MIT License
1.99k stars 118 forks source link

Clarify debug.rb compatibility in README #268

Closed andmcadams closed 1 year ago

andmcadams commented 1 year ago

Hello! I noticed I was running into the issue with byebug and zeitwerk mentioned in the README and in this byebug issue. I tried switching to debug.rb but had the same issue, which confused me since the docs mention it's compatible. As far as I can tell from the various GH issues, the debug.rb incompatibility was fixed in Ruby 3.1 onwards with a new TracePoint method mentioned in this debug.rb PR. I'm running Ruby 2.7.7 so I tried Break instead, which worked!

I was hoping to get this mentioned in the README since it wasn't very clear to me what the problem was with debug.rb until I spent a bit of time trawling through a couple of GH issues.

fxn commented 1 year ago

❤️