Leonardo Cartaxo
Leonardo Cartaxo

Reputation: 313

How to debug react project generated by jhipster at intellij-idea?

How do I debug a react application generated by jhipster at intellij-idea?

Using built in debug at intellij-idea I can debug only the backend. I want to debug the front-end at same time

Upvotes: 0

Views: 1025

Answers (1)

lena
lena

Reputation: 93778

You can debug it using instructions from https://blog.jetbrains.com/webstorm/2017/01/debugging-react-apps/:

  • start your app in a way you normally do this (./mvnw, npm start or whatever way you normally use)
  • create a Javascript Debug with your server URL, like:

enter image description here

  • add breakpoints in your client code
  • debug the configuration above

Upvotes: 3

Related Questions