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 -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -