Pointing to breakpoint VS2015-Update1 pops up ‘The breakpoint will not currently be hit. No symbols have been loaded for this document’ *.js.map is generated next to my *.js in my wwwroot/app directory. The project is all working fine. I tried debugging under Chrome also but I can`t drop breakpoint in sources/scripts/app.ts because it is empty. My web.config amended by:
<staticContent>
<remove fileExtension=".ts" />
<mimeMap fileExtension=".ts" mimeType="application/x-typescript" />
</staticContent>
and
tsconfig.json has the "sourceMap": true
Could anyone help or link me a VS2015 Angular2 hello word where I can hit breakpoint?
import { bootstrap } from 'angular2/platform/browser';
import { Component, View } from 'angular2/core';
import { NgFor } from 'angular2/common';
import { FORM_DIRECTIVES } from 'angular2/common';
@Component({
selector: "my-app"
})
@View({
template: `
{{message}}
<br/><input [(ngModel)]="message"/>
`,
directives: [FORM_DIRECTIVES]
})
class AppComponent {
message: string = "Hello word";
}
bootstrap(AppComponent);
message: string = "Hello word"; - here I put the breakpoint