Nashorn debugging file name requirements

Answered

Intellij IDEA supports //#sourceURL=filename.js and the Nashorn load() function for getting filenames to match code to for debugging.  What are the specific requirements for getting the debugger to recognize code?  For example, eval()ed code using, //#sourceURL=filename.js - how does it match the filename to a file in the project?  There is some information in this blog post but I'd like to get some official guidelines.

Thanks,

0
1 comment

Both absolute paths and paths relative to project root should work. If it doesn't work for you, please provide a sample project that shows your setup

0

Please sign in to leave a comment.