使用 IntelliJ 远程调试 jnlp 应用程序

使用 IntelliJ 远程调试 jnlp 应用程序

问题描述:

我正在尝试使用 IntelliJ 10(在 Win7 上运行)调试 Web 启动应用程序.

I'm trying to debug a web start application using IntelliJ 10 (running on Win7).

我都读过所以:

我好像遗漏了什么.我尝试从命令行运行它,或将参数添加到 jnlp 文件中,但无论我做什么,我都会收到 Unable to open debugger port : java.net.ConnectException "Connection denied: connect" 错误.

It seems like I'm missing something. I've tried to run it from command line, or adding the arguments into the jnlp file but no matter what I do I get an Unable to open debugger port : java.net.ConnectException "Connection refused: connect" Error.

如何调试 Web 启动应用程序?

How can I debug a web start app?

我知道这很愚蠢,但是一旦我将端口从 5000 更改为 5005 就一切正常了.

I know it's stupid, but once I changed the port from 5000 to 5005 it all works.