node.js express app won't start (or debug) in Eclipse (Nodeclipse)

两盒软妹~` 提交于 2019-12-18 09:35:01

问题


When I do on my app.js Debug As > Node Application it says

Launching STANDALONE_V8 has encountered a problem.
Failed to connect to Standalone V8 VM
connect timed out

It should start an app. Doing so directly on my terminal works fine. When I start a debug session in my terminal and than try to debug it in Eclipse works fine too.

So is there anything that has to be done in order to make it work in Eclipse?


回答1:


What exact error is in ErrorLog View on in Nodeclipse Console? What is Java is used and Nodeclipse version?

Try to specify Java version: in eclipse.ini point to JDK 7

Check also - toggleBreakpointsTargetFactory specified id is already registered



来源:https://stackoverflow.com/questions/19877014/node-js-express-app-wont-start-or-debug-in-eclipse-nodeclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!