javascript - How to debug requireJS module defined path/file -


i'm new requirejs world. i'm getting load timeout error 1 of modules, i've defined in main file. don't see request in network tab of chrome, because require has loaded file earlier.

i've hooked onerror event of require & see error. stack doesn't give exact location/name of file tried load module. there way figure out exact file/linesofcode ?

also, there way figure out @ runtime paths defined in requirejs, api require.getpaths()

requirejs.s.contexts._.config.paths 

this return paths defined in requirejs. if there multiple .config calls, seems contain no duplicates.


Comments

Popular posts from this blog

rdbms - what exactly the undo information lives in oracle? -

bash - How do you programmatically add a bats test? -

clojure - 'get' replacement that throws exception on not found? -