Debugging

Turn up the logging of the JavaScript libraries and inspect what the viewer and the SDK do in the browser.

Guides for finding out what the client libraries are doing when something does not work.

  • JavaScript logging — the shared logger of @bimworks/jssdk, the viewers and @sascom/commonjs: levels, the console switch and the persistent setting.

Pages#

  • JavaScript loggingSet the log level of all BIM.works JavaScript libraries from code with log.setLogger, or from the browser console with bimworks.setLogLevel, optionally persisted in localStorage.