Skip to content

Allow specifying request options for reading sourcemaps #904

@llgcode

Description

@llgcode

Describe the bug
Could not debug typescript.
Because of this issue:
Could not read source map for https://xxxxx.com:8423/xxxxx/App.js: Unexpected 503 response from https://xxxxxx:8423/xxxxx/App.js.map: unable to verify the first certificate

It's ok if I inline source map into javascript file ( "inlineSourceMap": true) but I would like to have separate file for source map.

The certificate (used for https) is not a self signed certificate it is an internal corporate certificate. In pre-production we also have authentication on javascript file so I guess it would not work if vscode try to download the mapping file by itself. The mapping file is already in the workspace.
Can't understand why the source file (javascript) is loaded correctly (using chrome developper protocol or loaded file locally I guess) but not the associated mapping file attached to it.

VS Code Version: 1.51.1 and Nightly build
Thanks for your help

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions