How to get debugger breakpoints to work for React App in IntelliJ IDEA Ultimate - POST Request with JSON Body?
Hi,
I am posting this in WebStorm since it seems to be the closest to IntelliJ IDEA Ultimate Edition (2019.1.4) which I am using. For what it's worth, our company also has a license for WebStorm.
I cannot hit the breakpoints when running the debugger in our react app in IntelliJ Ultimate Edition.
The following did not help since I want to send a POST request with a JSON body and it looks like this example uses a GET request approach: https://www.jetbrains.com/help/webstorm/react.html#react_running_and_debugging_debug
I don't see a way to specify a POST request and add JSON body content.
I searched elsewhere in this community and only found this which refers to the same approach.
https://intellij-support.jetbrains.com/hc/en-us/community/posts/360001506319/comments/360000220960
Could you please help?
Thanks.
Please sign in to leave a comment.
>The following did not help since I want to send a POST request with a JSON body and it looks like this example uses a GET request approach
Don't understand what you meant to say... The Help article is about debugging React apps in general, can't see anything related to GET requests there
>I don't see a way to specify a POST request and add JSON body content.
sorry, but how is it related to debugging?
We had configured webpack to not build a source-map for the server bundle. We changed it to build one. With one built, setting break points in IntelliJ works
In regards to the GET / POST part, it's not important to go into that now that we can run and hit breakpoints.
Thanks!