I have an ASP NET Core application with Angular 2 and Typescript and I am struggling to debug Typescript files in Visual Studio 2015. All my angular 2 files are insire of "wwwroot" directory.
In my tsconfig.json file I have:
{
"compilerOptions": {
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"module": "commonjs",
"moduleResolution": "node",
"noEmitOnError": false,
"noImplicitAny": false,
"removeComments": false,
"sourceMap": true,
"target": "es5"
},
"exclude": [
"node_modules/**/*.d.ts",
"wwwroot",
"typings/main",
"typings/main.d.ts"
]
}
I have all the .map files and js files generated in the file system and I can see them in my solution but when I start debugging Visual Studio with Internet Explorer but says that "No symbols have been loaded for this document."
I have created a simple project only with .NET Core and simple typescript file. Following this guide: https://www.typescriptlang.org/docs/handbook/asp-net-core.html
Here is the code on git: https://github.com/andrenpt/TypeScriptDebug
Still the break-point is not hit in VS2015
Does anyone have any suggestion?