Skip to content

Sourcemap not reloading after source code change #30149

Closed
@Lavanya0402

Description

@Lavanya0402

Command

add

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

Whenever I'm in debug mode, I make changes to the code, save it and try to add a breakpoint to the newly added line, the breakpoint is unbound. The sourcemap cannot detect the newly added line.

Minimal Reproduction

Run the application in debug mode.
Make code changes.
Save and wait for it to detect changes and reload.
Set breakpoint in newly added line.
Breakpoint is unbound or breakpoint is set at random location.

Exception or Error


Your Environment

Angular CLI: 19.1.8
Node: 22.14.0
Package Manager: npm 10.9.2
OS: win32 x64

Angular:
...

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1901.8 (cli-only)
@angular-devkit/core         19.1.8 (cli-only)
@angular-devkit/schematics   19.1.8 (cli-only)
@schematics/angular          19.1.8 (cli-only)

Anything else relevant?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: repro stepsWe cannot reproduce the issue with the information given

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions