Skip to content

Problem with sourcemaps #681

Description

@erfanium

when tsconfig.json is

  "sourceMap": true,
  "inlineSourceMap": true

vscode debugger breakpoints works fine, but the errors stack traces are not correct becuase source maps are inline and have not been registered.

then when I change tsconfig.json to

  "sourceMap": true,
  "inlineSourceMap": false

Now errors stack traces back to working. but vscode debugger breakpoints has problem with it.

I migrate back to ts-node --swc because of this
How should I fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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