Cannot debug Angular 2's *.ts file on ASP.NET Core Template Pack #1148

Closed
opened 2025-08-09 17:19:03 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @Sampath-Lokuge on 1/1/2017

Hi,

Why I cannot debug Angular 2's *.ts file on chrome dev tools ?

Source window as shown below.But unable to find out the webpack:// folder.Can you tell me why ? I need to find out the location of *.ts files.How can I do that ? This is running on debug mode with VS 2015 community edition.

Chrome browser's Version : 55.0.2883.87 m

tsconfig.json

{
  "compilerOptions": {
   "moduleResolution": "node",
    "target": "es5",
    "sourceMap": true,
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
    "skipDefaultLibCheck": true,
    "lib": [ "es6", "dom" ],
    "types": [ "node" ]
  },
  "exclude": [ "bin", "node_modules" ],
  "atom": { "rewriteTsconfig": false }
}

Alt Text

*Originally created by @Sampath-Lokuge on 1/1/2017* Hi, Why I cannot debug Angular 2's *.ts file on chrome dev tools ? Source window as shown below.But unable to find out the `webpack://` folder.Can you tell me why ? I need to find out the location of *.ts files.How can I do that ? This is running on debug mode with VS 2015 community edition. **Chrome browser's Version : 55.0.2883.87 m** **tsconfig.json** ``` { "compilerOptions": { "moduleResolution": "node", "target": "es5", "sourceMap": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "skipDefaultLibCheck": true, "lib": [ "es6", "dom" ], "types": [ "node" ] }, "exclude": [ "bin", "node_modules" ], "atom": { "rewriteTsconfig": false } } ``` ![Alt Text](https://i.stack.imgur.com/G0axe.jpg)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1148
No description provided.