Version: v0.8.1 - Beta.  We welcome contributors & feedback.

Request.printInfo

Request.printInfo() -> null

Description

Print a dump of all request and configuration data, for debugging purposes.

For security reasons, if the app is not running in developer mode (on localhost, or requested from devIp in config/app.jcon) the data will instead be written to data/files/app.log.

Request.printInfo()

// Example output:
{
    cookie: {
        sid: '...'
        ...
    }
    env: [...]
    files: [...]
    get: [...]
    post: [...]
    headers: {
        accept: 'text/html...'
        ...
    }
    server: {
        DOCUMENT_ROOT: '...'
        ...
    }
}

See Also