简体   繁体   中英

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

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:

在此处输入图片说明

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM