| function vsk_dbg_start( | attachTo, | | lines, | | w, | | h | ) |
|
Starts debug mode that creates a text label attached to the borders of the document that messages can then be printed to using <vsh_dbg_print>
Parameters
| string attachTo | defines where the debug console will be attached to |
| <int lines> | define possible amount of lines in the console at the same time, default: 100 |
| <int h> | height of the console (pixels), default: 100 |
| <int w> | width of the console, only relevant when attaching console into a corner, default: 300 |
attachTo values
| ’t’ | top side of the document |
| ’b’ | bottom side of the document |
| ’ul’ | upper left side of the document |
| ’lr’ | lower right side of the document |
See also
vsk_dbg_stop