debug-inspector-panel icon indicating copy to clipboard operation
debug-inspector-panel copied to clipboard

Suggestion: Mangle __builtins__ to provide debug shortcut

Open lamby opened this issue 13 years ago • 8 comments

Importing "from inspector_panel.panels.inspector import debug" is pretty long - you need to compete with people just typing "print" because it's shorter and they are lazy.

Therefore, maybe if you add a shortcut to "inspector_panel.panels.inspector.debug" to builtins ("debug"? "pdebug"? shrugs) ?

lamby avatar Aug 10 '12 20:08 lamby

This is a really good suggestion @lamby . I'll be honest with you, i don't know how to do it, so i'll read about it right now. If you can share docs, it'd be awesome.

Thanks a lot!

santiagobasulto avatar Aug 10 '12 20:08 santiagobasulto

@lamby I just added dj_django builtin function to my fork. Great idea.

hgezim avatar Jul 13 '14 15:07 hgezim

@hgezim Is that in the official fork / repo now? if so we can close this one...

lamby avatar Aug 27 '18 07:08 lamby

Wow...I have no memory of this at all 😅

According to the graph, indeed I have more improvements:

network_graph_ _santiagobasulto_debug-inspector-panel

So, @lamby, maybe?!

hgezim avatar Aug 27 '18 14:08 hgezim

Haha ♥

lamby avatar Aug 27 '18 15:08 lamby

Hey Folks! I've been quite busy lately and abandoned this project :( I've just realized my last comment to @lamby was in 2012 😱.

@hgezim your fork looks great. I'll add a section in this readme pointing to yours for future references. If you need the ownership transfer on pypi let me know.

santiagobasulto avatar Aug 27 '18 15:08 santiagobasulto

I've not used this in a while either. Perhaps @lamby wants to take over?!

hgezim avatar Sep 05 '18 01:09 hgezim

… alas I don't have the bandwidth for this right now. :(

lamby avatar Sep 05 '18 07:09 lamby