Ale.js

# Debug mode

### Start

When you have a huge front-end system, debugging can become a nightmare if there is no way to monitor data changes.

The occurrence of the debug parameter solves this problem well. You can add the debug parameter to the component definition or render (the debug parameter when rendering will completely override the debug parameter set at the time of definition):

The debug parameter has two built-in functions: setter and getter, which monitor the setting and getting of the component data respectively (where the setter and getter each require a parameter to receive the value):

Above example code:

Found some errors? Edit on Github!