我是网络开发领域的新手,并且发现调试Angular程序有困难。我想知道一步一步的过程,以便我能更好地理解。这是Angular的工具或编辑器。目前,我正在使用Atom
答案 0 :(得分:1)
您可以使用Visual Studio代码,Atom等来开发Angular应用程序。
If you are using visual studio code for developing angular applications.
then,
1) go to extensions(ctrl+ shift +x) and install debugger for chrome.
2)Then, Go to 'debug' option at the top and click 'Add configuration', then
opens 'launch.json'(you can configure it).
3)Then, start debugging by debug option(f5) after putting breakpoints.
其次,
If chrome,
1) Go to sources.
2) ctrl + p.
3) search your file name. Put breakpoints.
4) Start debugging.