Debugging your Application

While you are developing your Equo application, you will likely run into some problems that require debugging. Since an Equo application consists of two big parts, the Java and the JavaScript parts, you will need to use one of the following tools, or maybe both.

Java Debugger

When you are developing your Equo application, you will end up running it as a normal Java application. To debug it, just run your application in debug mode in your favorite IDE.

Using DevTools

To debug JavaScript, HTML, and CSS, you have to run the app with the chromium.remote-debugging-port property, specifying the port for remote debugging. This will also print Chromium logs in the console.

The property could be added in the pom.xml file, inside <properties></properties> section, or in your file.



Then you can use a Chromium-based browser (i.e. Chrome), although it is not strictly necessary but it provides the best visualization, and enter the following url:


There, you can inspect your application elements. Note that to debug JavaScript your Equo application must be already running.