DevTools debugging tools
The most commonly used debugging tool is DevTools. Chrome browser or browsers based on Chromium kernel (such as Edge) can use DevTools.
This must be mastered, otherwise problems cannot be located.
DevTools development tools overview:
https://learn.microsoft.com/zh-cn/microsoft-edge/devtools-guide-chromium/overview
Getting started with debugging JavaScript:
https://learn.microsoft.com/zh-cn/microsoft-edge/devtools-guide-chromium/javascript/
Only two basic document entries are provided here. In fact, the document is very comprehensive. Please check and learn by yourself according to the menu list of the document.