Extension containing debug utilities
Describes a value, prints the result to stdout and returns the value.
Output will contain:
Type ('string'
, 'array'
, 'object'
, 'number'
, etc)
Value (concatenated to 32 chars)
Length (if applicable)
If value is an array (when type is 'object'
)
If value is JSON (when type is 'string'
)
JSON-type (when parsed)
JSON-length (when parsed)
dbg.describe(value[, label])
Name | Type | Description |
---|---|---|
value
any
The value to describe.