Skip to content

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

@neumartin

Description

@neumartin

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions