2016-05-18 8 views
0

Ich bin verwirrt von dem Problem für 2 Tage. Irgendwelche Tipps werden geschätzt.Node Webkit App Debugging in WebStorm 11

Eine sehr einfache Node-Webkit App wird erstellt: 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 Einstellungen wie folgt:

link to image "webstorm debugging settings"

"run" ist in Ordnung. Die App läuft normal. Wenn "debug" Start :, das Problem Zeichenfolge ist:

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 

link to image "problem capture"

ich in die JetBrains Dokumentation gesucht und nicht finden können, was das Problem verursacht.

Antwort

1

Debuggen funktioniert nicht für NW 0,13+. Bitte folgen Sie WEB-18588 für Updates

Verwandte Themen