Skip to content

Node.js SwiftWasm debugging with Chrome Dev Tools? #3

@jayphelps

Description

@jayphelps

I tried out the extension for use with debugging Swift code compiled to Wasm in debug mode running in Node.js, then used chrome://inspect to attach the dev tools debugger to the Node.js process, but unfortunately it doesn't seem to be working.

When I step into the Swift code I don't get source maps at all, so I see just the wat text.

Image

Whereas in VSCode I do get source maps, but, I of course don't get your enhancement (which is expected) but shows that it is compiling in debug mode with DWARF:

Image

Is this a known issue that it can't work with Node?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions