stackblitz / webcontainer-docs

WebContainer API Documentation
MIT License
67 stars 22 forks source link

Native debugging #36

Open matthewoates opened 1 year ago

matthewoates commented 1 year ago

I've seen mentions of native debugging support but I find that when I simply use a debugger the dev tools (chrome stable) show the transpiled code. (I'm writing ES modules with import/export syntax)

Can we get docs / some examples of how to get debugging working with the source mapped source code? Additionally, how to be able to add debug points programmatically (to expose the ability to set breakpoints via the UI as you can in VS Code)