【问题标题】:Node webkit app debugging in WebStorm 11WebStorm 11 中的节点 webkit 应用程序调试
【发布时间】:2016-05-18 06:56:34
【问题描述】:

我对这个问题困惑了 2 天。任何提示都表示赞赏。

创建了一个非常简单的 node-webkit 应用程序:helloworld。

package.json:

{
    "main": "index.html",
    "name": "helloworld-demo",
   "node-main": "hello.js",
    "keywords": [ "demo", "node-webkit" ],
    "window": {
        "title": "node-webkit demo",
        "icon": "link.png",
        "toolbar": true,
        "frame": false,
        "width": 800,
        "height": 500,
        "position": "mouse",
        "min_width": 400,
        "min_height": 200,
        "max_width": 800,
        "max_height": 600
    },
    "webkit": {
        "plugin": true
    }
}

index.html:

<html>
<head>
<title>Hello World! </title>
</head>
<body >
<h1>Hello World!</h1>
We are using node.js
</body>
</html>

WebStorm 11 设置如下:

“运行”没问题。应用程序正常运行。 启动“调试”时:,问题字符串是:

C:\Users\lizhen\Downloads\nwjs-v0.14.5-win-x64\nw.exe --remote-debugging-port=49368 --url=data:text/html;base64,PCFET0NUWVBFIGh0bWw+PHRpdGxlPkxvYWRpbmcgZmlsZTovLy9DOiU1Q1VzZXJzJTVDbGl6aGVuJTVDRG93bmxvYWRzJTVDbm9kZWpzX3dlYmtpdFByYWN0aWNlJTVDaGVsbG93b3JkL2luZGV4Lmh0bWw8L3RpdGxlPg== C:\Users\lizhen\Downloads\nodejs_webkitPractice\helloword

Process finished with exit code -1

我查看了 JetBrains 文档,但找不到导致问题的原因。

【问题讨论】:

    标签: webstorm node-webkit


    【解决方案1】:

    调试不适用于 NW 0.13+。请关注WEB-18588 获取更新

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-05-24
      • 1970-01-01
      • 2013-11-03
      • 2018-11-13
      相关资源
      最近更新 更多