Debugging in Visual Studio
OS: Windows 10 angular-cli: 1.0.0-beta.17 node: 6.5.0
I have an ASP.NET Core project in Visual Studio which includes an Angular app. The Angular app was not created by angular-cli but I've included it and it is working fine. I'm using ng build to build the application and set my outDir to wwwroot. I can then run my app using IIS Express.
I would like to be able to debug my TypeScript files in Visual Studio. However if I set a breakpoint it is not being hit. I've seen other issues here asking about debugging for Visual Studio Code and WebStorm, so I think there might be a similar solution. Does anyone have an idea how to achieve this in Visual Studio?
Flagging for community help, I don't have any specific help myself though.
I spent many hours on this and I finally figure it out.
@maxime1992 this issue is for Visual Studio, not Visual Studio Code. Configurations for VS Code debugging can be found in https://github.com/angular/angular-cli/issues/2453.
(closed by mistake)
I just tried this again and I am now able to debug my TypeScript files in Visual Studio. I'm using angular-cli 1.0.0-beta.19-3 and am not aware of changing anything else that could be related to debugging.
@chrstnbrn what steps exactly did you follow to debug it with Visual Studio? (not vs code)
@chrstnbrn I would also be interested if you could share your configuration for Visual Studio (not VS Code). Thanks!
@chrstnbrn me too.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.