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

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

c# - How do I get the Nth largest element from a list with duplicates, using LINQ? -

jsp - "Sending a redirect is forbidden after the response has been committed" in sendRedirect -