debux icon indicating copy to clipboard operation
debux copied to clipboard

Feature request: nbb support

Open darky opened this issue 2 years ago • 4 comments

More info:

https://github.com/babashka/nbb/issues/171#issuecomment-1106847290

darky avatar Apr 22 '22 21:04 darky

I will review this issue and find a way through if it is possible.

Thank you for the report!

philoskim avatar Apr 23 '22 08:04 philoskim

@philoskim I didn't see the nbb request but if you want I can help with this.

I have a babashka-compatible fork here:

https://github.com/philoskim/debux/compare/master...borkdude:debux:master

The issue with the current debux is that it tries to load the CLJS analyzer which isn't compatible with bb (also not with nbb). In .cljc files this is easy to avoid using a :bb reader conditional.

In the debug.dbgn namespace I wasn't able to do this, but I can try to find a way to make that work with clj, cljs, bb and nbb, if you're interested:

https://github.com/philoskim/debux/compare/master...borkdude:debux:master

borkdude avatar Jan 28 '23 15:01 borkdude

@borkdude I couldn't find the way to solve this issue. So if you help with this, I will be very honored and appreciate it so much!

philoskim avatar Jan 29 '23 07:01 philoskim

Babashka support: https://github.com/philoskim/debux/pull/30

borkdude avatar Feb 04 '23 12:02 borkdude