Debugging
Debugging the application can happen by using each browsers Development Tools. Output that is written to the console, is of course visible in the JavaScript console in the browser.
It is also possible to use breakpoints, the original source is delivered with the transpiled JavaScript application.
If you want to get debugging information from an application that runs in production, you can use the harmonyConsole object, as explained in the Structure of the application page. All logging is available on the log page of the read point.
Chrome
- Run the application on a readPoint
- Open development tools
- Navigate to Sources
- Scroll down, and open 'Webpack://'
- Open the folder and you can see the original source there, add breakpoints wherever you like
Updated about 2 years ago