-
Notifications
You must be signed in to change notification settings - Fork 124
Intelij 2018.2 Debugging GWT Apps
Mark Kevin Baldemor edited this page Aug 14, 2018
·
6 revisions
- Update or Download the latest 2018.2 Intelij IDEA
- Create a GWT Run Configuration and tick
With Javascript debugger
- Add mapping(s) between your local files and remote URLs. Therefore choose the local path of your (top level) package in the section named 'Remote URLs of local files (optional):' and map it to the related URL of the code server. Say you have the local path src/main/java/gwt/material/design/client and your GWT module has the short name gwt-material. Then the remote URL would be http://127.0.0.1:9876/sourcemaps/gwt-material/gwt/material/design/client.
- Then once you run the application it will open a separate Chrome Remote Debugging Window
-
The above steps will just allow you to debug in a single browser window (With no bookmark etc.) which states here
-
In order to debug it on any current Chrome Browser Window you must download the Live Edit plugin then the JetBrains Chrome Extension and enable it.
-
Once Live Edit was downloaded please check
On Changes in
. -
See an example view
- Now you can start adding breakpoints and debug your GWT Applications.