Skip to content

How to test the sourcemapper? #295

@GeoffreyPlitt

Description

@GeoffreyPlitt

I'm using this to send CPU profiles for a transcoded Typescript code file which has inline sourcemaps in the generated JS. The resulting profiles do not have the right line numbers.

How do I test the sourcemapper? For example, I have an input JS file, and I'd like to see the result after sourcemap parsing completes. Is there a unit test, or CLI approach, to do so?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions