emscripten-core / emscripten-core/emscripten

Provide file path for source files when debugging

Open
#12,515 1 comment 0 reactions 0 assignees View on GitHub
wontfix
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

I started to use Ubuntu 18.04 under WSL to compile our code just because the emscripten tool chain seems to work more reliably under linux.

The rest of the development is still under windows. When I test the code in the browser and I try to look at the source file the browser doesn't find the files because the path where the browser is supposed to find them is the wsl path /mnt/c/...

Is there a way to provide the basepath to the source files while compiling. I tried to use `--source-map-base ` but the files have still the linux path.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.