Improve Debugging: WASM source maps
- Lingua principale
- TypeScript
- Stelle
- 1
- Fork
- 21
- Merge medio
- 12h 14m
- PR unite (30g)
- 41
Descrizione
## Description
Browsers support source maps natively for JS (i.e. mapping an error, a line etc. to its original source code).
Support for WASM seems to exist through the DWARF format, we may not be able to ship them with release but they can prove to be useful when developing or fixing bugs, we should look into a way to generate them, a good starting point is this issue from wasm-pack: https://github.com/drager/wasm-pack/issues/824
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start by reading the linked wasm-pack issue to understand DWARF and source maps for WASM. Look at the project's build process for WASM generation, likely in a build or scripts directory. Determine how to integrate DWARF generation into the existing toolchain. 'Done' means source maps are produced in development builds.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript, wasm
- Ambito
- devtools, web-dev
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100