Debug Flink code

In addition to simply executing the Flink application, you can also set breakpoints and debug the application locally, which is very convenient when implementing and verifying the business logic.

  1. Expand the utils package and navigate to and double click the GeoUtils class

  2. Set a breakpoint by clicking left of a code line, eg, Line 35

  3. Start the debugging process by clicking the green bug next in the upper right corner of the IDE

  4. Step through the code and inspect the content of the variables and the stack trace