Overview
The console attached to each script area can be used to print messages from a script. Particularly useful when debugging.
Console
Beneath the script editor is a small dark text area. When you make a call to $console.log, the result will be displayed in the this window.
$console.log('hello world')
You can resize the console window by clicking the max button. click the max button again to return it to its default size. If you wish to clear the messages in the console window, click the clear button.
The console.log function is a native Javascript function will print to the browser log, and can be viewed by opening the browsers debugger.
console.log('hello');
Copying from the Console
Underneath the console are two links that lets you copy content from the console
- copy -copies the entire contents of the console
- copy last - copies on the last thing printed to the console
Click the link that performs the desired action. The corresponding content will be copied to your clipboard.