--- title: SourceMap slug: Web/HTTP/Headers/SourceMap translation_of: Web/HTTP/Headers/SourceMap ---
The SourceMap
HTTP response header links generated code to a source map, enabling the browser to reconstruct the original source and present the reconstructed original in the debugger.
Header type | {{Glossary("Response header")}} |
---|---|
{{Glossary("Forbidden header name")}} | no |
SourceMap: <url> X-SourceMap: <url> (deprecated)
<url>
SourceMap: /path/to/file.js.map
Especificação | Titulo |
---|---|
Draft document | Source Map Revision 3 Proposal |
A Tabela de compatibilidade nesta página é gerada de dados estruturados.If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
{{Compat("http.headers.SourceMap")}}