Debugger statement
Warning
The debugger statement has not been implemented yet due to a lack of consensus on what the best way is to mark which specific function should be called when a debugger statement is reached. For now, the best replacement is to just call an imported function which itself triggers the debugger statement from inside Javascript.The debugger statement is used to facilitate easier debugging of code. When it is reached, and a debugging environment is currently open (e.g. the browser's console), the execution of code halts. Usually, depending on the debugging environment, the state of the program can be thoroughly inspected at this point, and the code can be run in steps, all in an effort to make finding bugs easier.
Example
This is a work-in-progress feature that has not been implemented yet, and as such, this example won't work.