During my study of WordPress plugins, I came across SearchWP Live Ajax Search. It contains short code that made me happy and I think every WordPress plugin should implement it. The code is very simple, but it does what I need. It offers plugin scripts in unminified version for debuging.
How to do this?
Just add this small check to you code and then use
$debug as suffix in script registration.
If you define
SCRIPT_DEBUG or pass
script_debug as parameter in URL, it loads that script unminified.
What you think about this approach?