Experimental API, subject to change.
proc vmTrace(on: bool) {.compileTime, ...raises: [], tags: [], forbids: [].}
Example:
static: vmTrace(true) proc fn = var a = 1 vmTrace(false) static: fn()