You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2022. It is now read-only.
Alexander Krause edited this page Jan 19, 2018
·
5 revisions
This page presents how one can enable and use debugging modes for the frontend and backend.
Frontend
JS Code Logging
Use debug statements, e.g., this.debug("my log message", myToBeLoggedObject); to log any information from your code. You must enable the logging in Google Chrome by passing the logging targets to the debugger. Open the Chrome Dev Tools (Ctrl + Shift + J in Windows) and insert one of the following commands into the console:
debug.enable('route:visualization'); : Google Chrome will only log messages from the visualization route.
debug.enable('route:*, component:landscape-rendering'); : Google Chrome will log messages from any route and the landscape-rendering component.
debug.enable('*'); : Google Chrome will log executed log statement