Page 1 of 1

debug (chromebug) friendly script inclusion

Posted: Wed Aug 10, 2011 10:42 pm
by al_9x
Starting with 2.1.2.4rc5, the deferred inclusions show up in Chromebug:

a. unnamed ( <number> in BackstagePass)
b. deferred, as intended
c. mostly minified (newlines stripped)

a & b are only inconvenient for debugging, but c makes it impossible.

before 2.1.2.4rc5, the situation was much better for debugging. I am not positive, but it seems like files INCLUDED from top level code, end up ok. It would be helpful to have a debug pref that preloads all includes from top level code, or something like that, that ensures that all the files are debuggable.

Re: debug (chromebug) friendly script inclusion

Posted: Fri Aug 19, 2011 10:05 pm
by Giorgio Maone
a & c sound like bugs either in Chromebug or in the JS Debugging API.

Anyway yes, it can be done.