Now I'm using Webstorm to code and debug Angular but I don't like this IDE. Is there any way to debug angular with VS 2017 ?
You can debug Angular inside VS2017. Except there are issues not yet resolved. One is that currently you need to set your breakpoints after you start debugging. (I have VS Pro v15.4.1) To see an example of debugging do the following:
Create a project as a Asp.Net Core Web Application and select the "Angular" project template.
Click the down-arrow next to "IIS Express" and set the Web Browser to Google Chrome.
Start debugging. Chrome will display a message about script debugging being enabled. Eventually your app will displace this message.
Set a breakpoint on "this.currentCount++;" in counter.component.ts.
Navigate to the Counter screen and click "Increment". Your breakpoint will be hit.
Make sure that you do not also have the Chrome Developer tools running at the same time (F12 tools).