To debug js code, you need to write debugger in the code or set breakpoints in Chrome every time, and the breakpoint information of Chrome is not user-friendly. I accidentally discovered that idea has this function, it is really amazing. After studying for a long time, I finally got it done. Haha, I'm so happy. Here are the detailed steps: 1. Download the browser plug-inSearch for the "jetbrains ide support" plug-in in the Chrome app store. You may need FQ (if you don't know how to use Baidu, just use google host), as shown below. This is what I have installed. Here I tried to find the downloaded plug-in and installed it, but the connection was not successful and an error message was always prompted, which will be mentioned below. So don't be lazy and download it honestly. After successful installation, this icon will appear in the upper right corner It should be noted that you should not install downloaded plug-ins. First, they will not work after installation. Second, Chrome does not trust plug-ins from unknown sources and will automatically disable the plug-ins after restarting. If you cannot install it online, there is another way: change the extension of the downloaded plug-in to rar, unzip it to a folder, use the browser's plug-in developer mode, load the folder as a plug-in, and install it. You can also right-click on the plug-in icon and select Options, as shown below, to configure the port, which must be consistent with that in idea; 2. Configure IDEAThe configuration in idea is as follows After these two steps are configured, run the newly created JavaScript Debug to start debugging and access the breakpoints. This is the end of this article about how to debug VUE front-end projects in IDEA. For more information about debugging VUE projects in IDEA, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: How does MySQL achieve master-slave synchronization?
>>: Some parameter descriptions of text input boxes in web design
Sometimes the theme of a project cannot satisfy e...
Table of contents Preface keep-avlive hook functi...
Mine is: <!DOCTYPE html> Blog Garden: <!...
1. Unzip MySQL 8.0.16 The dada folder and my.ini ...
Table of contents Why do we need garbage collecti...
Preface To help ensure that your web pages have a ...
After the form is submitted, the returned HTML pag...
Compared with ordinary programs, dynamic link lib...
Table of contents 1. Introduction to the basic fu...
1. MIME: Multipurpose Internet Mail Extensions Th...
To see the effect directly, a right-click menu ha...
CSS3 achieves cool 3D rotation perspective 3D ani...
In MySQL 8.0.18, a new Hash Join function was add...
Let’s look at the effect first: This effect looks...
01PARTCoreWebApi tutorial local demonstration env...