-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
Hi,
I'm using emscripten-1.38-31 and clang-e1.38.31-64bit.
I'm compiling with -g4 -s WASM=0 to get source maps, expecting to set breakpoints in C++ code using the Chrome developer tools, and linking with -g4 --source-map-base http://localhost:8000/
I end up with an output directory with like { PROJECT.asm.js, PROJECT.data, PROJECT.html, PROJECT.html.map, PROJECT.js }.
PROJECT.html.map has a single line: {"version":3,"sources":[],"names":[],"mappings":"","file":"D:/dev/Build/Output/PROJECT.html"}.
Does it seems wrong that there are no sources listed? After adding my source directory to Chrome's dev tools, the console output lines have links to the .html file, not the original source, and my breakpoint doesn't get hit.
Is there a step I'm missing?