Nashorn debugging file name requirements
已回答
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,
请先登录再写评论。
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