console.log("<log message>");
calls into the client-side scripts will log to the developer console, which can be accessed using developer tools in most web browsers in the Skylight Web client. debugger;
to the script in question. If the developer tools console is opened, this causes the browser to pause execution on that line and show the source of the code currently being executed. Debugging methods and tools provided by the browser will now be available, such as hovering variables to see their values.