Hacker News new | ask | show | jobs
by fyrn_ 47 days ago
You can get real breakpoints, memory watching, etc in browser with the chrome debugging extension
1 comments

I would recommend the VSCode WASM DWARF debugging extension instead of the Chrome extension nowadays:

https://marketplace.visualstudio.com/items?itemName=ms-vscod...

This allows to setup an IDE-like 'press F5 to build and start into a debug session' in VSCode, with the debuggee running in Chrome.

E.g. see:

https://floooh.github.io/2023/11/11/emscripten-ide.html

More of a helix user these days. I will look into it though.

Thanks for sokol btw, we use it at work for some things. Mainly gfx and the dds encoder