3 ms·
Great, I love Ruby. But what do I do for debugging?
by rikkus 12y ago
Great, I love Ruby. But what do I do for debugging?
- atmosx 12y agoIf you use any 'something-to-another' abstraction, be it language, ORM, whatever... You pray that it doesn't come to debugging. Might be a great tool for adding a grain of JS salt. But of course if you want to build an entire project based on JS, you better get a book and learn JS...
- adambeynon 12y ago(Opal developer here). When it comes to debugging, I just use the standard chrome dev tools with source maps. Variables and properties on objects all compile using their ruby names, so viewing local vars and ivars in the debugger is easy. I only ever debug the generated javascript when I am debugging a bug with Opals runtime/internals/compiled code.