question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't debug with VS Code 1.50.1 and NW v0.49.0

See original GitHub issue

Hi!

Im try to debug with this configurations, but none works:

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Launch NWJS 1",
            "type": "nwjs",
            "request": "launch",
            "nwjsVersion": "any",
            "runtimeExecutable": "/opt/nw/nw",
            "webRoot": "${workspaceRoot}",
        },
        {
            "name": "Launch NWJS 2",
            "type": "nwjs",
            "request": "launch",
            "nwjsVersion": "any",
            "port": 9223,
            "webRoot": "${workspaceRoot}",
            "runtimeExecutable": "/opt/nw/nw",
        },
        {
            "name": "Launch NWJS 3",
            "type": "nwjs",
            "request": "launch",
            "nwjsVersion": "any",
            "runtimeExecutable": "/opt/nw/nw",
            "runtimeArgs": [
                "${workspaceRoot}/build",
                "--remote-debugging-port=9222"
            ],
            "webRoot": "${workspaceRoot}",
            "sourceMaps": true,
            "port": 9222
        }
    ]
}

I get this error:

image

Thanks in advance!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
rogerwangcommented, Oct 20, 2020

Further questions could be sent to the mailing list: https://groups.google.com/forum/#!forum/nwjs-general

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to debug of NW.js? · Issue #140 · microsoft/vscode ...
I can't find an entry for your index file, usually index.js . This file should generate a Paths.scriptParsed event and once the file...
Read more >
August 2020 (version 1.49) - Visual Studio Code
When debugging multiple sessions, VS Code now only renders the arrow in the glyph margin for the focused session. This should make it...
Read more >
Launch and Attach to NW.JS program from Visual Studio Code
I can debug NW.JS applications with a modified Debugger for Chrome extension and the following configurations in my launch.json file.
Read more >
NW.js v0.49.0 Released with Chromium 86 Upgrade
I'm excited to announce NW.js 0.49.0. It ships Chromium 86 stable upgrade. Chromium 86 contains usual under-the-hood performance and stability ...
Read more >
HOWTO: Make DVD Videos Using Tovid: The Video Disc ...
Running command: makemenu -ntsc -dvd -align northwest -textcolor ... [transcode] V: import frame | 720x480 1.50:1 encoded @ 16:9
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found