I am using webstorm 2016.2, angular-cli, webpack2. In the photo, I cannot create a break point on lines 19,20,22,23. When I create line 21, the console does not print what I told him on line 19.
I see a ts file that should be debugged, but it looks like I'm debugging another file or js file that I do not have access to.
I would like to debug the ts file if possible, and if not, then the js file.

angular-cli.json:
{ "project": { "version": "1.0.0-beta.11-webpack.2", "name": "store-app-02" }, "apps": [ { "main": "src/main.ts", "tsconfig": "src/tsconfig.json", "mobile": false } ], "addons": [], "packages": [], "e2e": { "protractor": { "config": "config/protractor.conf.js" } }, "test": { "karma": { "config": "config/karma.conf.js" } }, "defaults": { "prefix": "app", "sourceDir": "src", "styleExt": "css", "prefixInterfaces": false, "lazyRoutePrefix": "+", "styles": [ "../node_modules/bootstrap/dist/css/bootstrap.min.css" ] } }
tsconfig.json:
{ "compilerOptions": { "declaration": false, "emitDecoratorMetadata": true, "experimentalDecorators": true, "mapRoot": "./", "module": "es6", "moduleResolution": "node", "outDir": "../dist/out-tsc", "sourceMap": true, "target": "es5", "typeRoots": [ "../node_modules/@types" ], "types": [ "core-js" ] } }
javascript debugging angular google-chrome-devtools typescript
Stav alfi
source share