node.js express应用程序不会在Eclipse(Nodeclipse)中启动(或调试) [英] node.js express app won't start (or debug) in Eclipse (Nodeclipse)

查看:145
本文介绍了node.js express应用程序不会在Eclipse(Nodeclipse)中启动(或调试)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在我的app.js上执行调试为>节点应用程序它说

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

应该开始一个应用程序这样做直接在我的终端工作正常。
当我在终端中启动调试会话,而不是尝试在Eclipse中调试它的时候也很好。

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.

所以有什么需要做的为了使它在Eclipse中工作?

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

推荐答案

在Nodeclipse控制台中的ErrorLog视图中有什么确切的错误?
什么是Java和Nodeclipse版本?

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

尝试指定Java版本:在eclipse.ini中指向JDK 7

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

另请参阅
- toggleBreakpointsTargetFactory指定的ID已经注册

这篇关于node.js express应用程序不会在Eclipse(Nodeclipse)中启动(或调试)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆