R: Helper function to enable/disable debug mode.

labkey.setDebugMode {Rlabkey} | R Documentation

## Helper function to enable/disable debug mode.

### Description

When debug mode is enabled, the GET/POST calls with output information about the request being made and will output a raw string version of the response object.

### Usage

    labkey.setDebugMode(debug = FALSE)

### Arguments

`debug` | a boolean specifying if debug mode is enabled or disabled

### Author(s)

Cory Nathe

### Examples

    library(Rlabkey)
    labkey.setDebugMode(TRUE)
    labkey.executeSql(
        baseUrl="http://localhost:8080/labkey",
        folderPath="/home",
        schemaName="core",
        sql = "select * from containers")

[Package Rlabkey version 2.3.2 Index]