Debug Javascript within Eclipse using Rhino

后端 未结 2 912
灰色年华
灰色年华 2021-02-06 18:37

I have installed JavaScript Development Tools Plugin for Eclipse, but i am not able to run or debug a JavaScript Project.

I want to debug using the inbuilt Rhino Interp

2条回答
  •  没有蜡笔的小新
    2021-02-06 18:59

    Which version of eclipse are you using? Install Eclipse 3.7 Java EE Version, there you could directly right click on the javascript file (.js extension) and Debug As -> Rhino JavaScript. Please see the attached image.

    Debug JavaScript

    The Debug configuration will look as below. There will not be any browse for project, you need to browse directly javascript file as shown in below image (you can browse all the javascript files from the entire workspace).

    Debug Configuration

提交回复
热议问题