How to debug Javascript.

hello.

I am currently using IntelliJ Ultimate version.

I have a question about how to debug Javascript (JS).

Currently, JS is created by the 3rd party tool.

The javascript is stored in "resource > static".

I'm curious how to debug that JS when running locally.

("http://localhost:8562/index.html)

I set a breakpoint in the JS source, but it doesn't work.

0
1 comment

The debugging process is described here: Debug JavaScript in Chrome | WebStorm Documentation (jetbrains.com). You have to create a JavaScript Debug run configuration with your app URL (http://localhost:8562/index.html), add breakpoints, then make sure that the server your application is hosted on is up and running and debug the configuration mentioned above.

0

Please sign in to leave a comment.