问题
I need to debug scripts running on a remote server which uses an embedded rhino engine, using intelliJ IDEA. Is there any procedure that I could follow to write a plugin to support this? I need an idea as how this could be done. It will be really helpful if you can either give me some idea or point me to some resources.
回答1:
IDEA has xdebugger API to support debugging. You can use xslt debugger plugin sources as example.
来源:https://stackoverflow.com/questions/12509206/how-to-implement-an-intellij-idea-plugin-for-remote-javascript-debugging-with-rh