debug icon indicating copy to clipboard operation
debug copied to clipboard

Feature request: color support

Open stephenmathieson opened this issue 10 years ago • 3 comments

It would make DEBUG=* legible with many debuggers enabled.

See the js impl for examples

stephenmathieson avatar Jun 22 '14 03:06 stephenmathieson

I'd like to see this too. I think it would be nice to enable colors at compile time. Something like:

    $(CC) $(CFLAGS) $(OBJS) -DDEBUG_COLORS

jwerle avatar Jun 23 '14 15:06 jwerle

I'd much prefer a runtime toggle:

$ DEBUG_COLORS=1 DEBUG=foo,bar ./app

On Mon, Jun 23, 2014 at 11:24 AM, Joseph Werle [email protected] wrote:

I'd like to see this too. I think it would be nice to enable colors at compile time. Something like:

$(CC) $(CFLAGS) $(OBJS) -DDEBUG_COLORS

— Reply to this email directly or view it on GitHub https://github.com/clibs/debug/issues/9#issuecomment-46859914.

stephenmathieson avatar Jun 23 '14 15:06 stephenmathieson

Maybe both? Maybe someone would want debug colors by default and runtime environment variables could be used to switch on/off

jwerle avatar Jun 23 '14 15:06 jwerle