RequireJs - option to trap errors -


i have lot of requirejs callbacks following:

require(['module1', 'module2'], function(module1, module2) {     module1.dosomething();     module2.dosomethingelse();     morestuff(); }); 

i'd able debug errors in inner methods, directly having browser's debugger break on uncaught exceptions. problem these exceptions caught, because requirejs catches them , routes them errback stuff. there way make not that?


Comments