如何使用Rhino实现一个用于远程javascript调试的intelliJ IDEA插件?
问题描述:
我需要使用intelliJ IDEA调试在使用嵌入式rhino引擎的远程服务器上运行的脚本。有没有我可以遵循的程序来编写插件来支持这个?我需要一个关于如何做到这一点的想法。如果你能给我一些想法或指出一些资源,那将是非常有帮助的。
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.
答
IDEA有 xdebugger API 以支持调试。您可以使用 xslt调试器插件源例如。
IDEA has xdebugger API to support debugging. You can use xslt debugger plugin sources as example.