Live Debugger

Kooboo provides a live debugger to debug kScript on live website. It supports step into, step over, variable watch and execute code. 

Navigate to "Development" -- "Code". 

Click "Debug" to open the debugger window

Breakpoint, Step into, Step over

On the debugger window, you mouse over a line and set breakpoint.

When the code is being executed, the breakpoint will be hit and you have the option to step into or step out. 

To execute a code, in the case of an Api, click the Preview link to execute the code. 

Variable Watch

There is a variable watch window on the bottom of the same page. Both local and global variables are listed there. 

Execute code

During debugging, you can execute code to update variable value or other things.