local: A helper function to enable debugger option

View source: R/utils-helpers.R

localR Documentation

A helper function to enable debugger option

Description

A helper function to enable debugger option

Usage

local(x, from_local = TRUE)

Arguments

x

TRUE / FALSE; whether to attach a debugging console to the sketch application.

from_local

TRUE / FALSE; whether to load the debugger console from the local package. If FALSE, the console will be loaded from a Content Delivery Network (CDN) link.

Note

Use 'from_local=TRUE' for self-contained applications, and 'from_local=FALSE' for reduced file size.

Examples

# This function is designed to be used in the configuration header, e.g.
# config(debug = local(TRUE), rules = basic_rules(), deparsers = basic_deparsers())

local(TRUE)


sketch documentation built on Oct. 23, 2022, 5:07 p.m.