rlx-debug(3) -- debug commands
==============================

## SYNOPSIS

Commands for debugging the environment, response documents and network connections.

## NETWORK COMMANDS

* `net [section]`:

Print information about the last network request. If *section* is not specified then all network related information is printed. The *section* option may be one of the following identifiers:

* misc - Miscellaneous properties
* network - Local and remote port and ip information
* request - Request information, URL, method, date, timestamp etc
* response - Response information, status code, content type etc
* speed - Information about upload and download speeds
* time - Time information for the network request

For more information see the manual page for curl(1).

## MISCELLANEOUS COMMANDS

* `env`:

Print all rlx(1) environment variables.

* `cookie`:

Print the contents of the cookie file, if the cookie file does not exist nothing is printed.

* `print`:

Print the last server response as JSON. If the last server response is not a JSON document a JSON parse error is printed.

* `grep [pattern] [command]`:

Executes a grep search on the response document resulting from executing *command*. If the executed command does not perform a network request nothing is done.

* `lint [file]`:

Performs a syntax check on a JSON document, the file must exist and have a json file extension.

## BUGS

**rlx** is written in bash and depends upon `bash >= 4.2`.

## COPYRIGHT

**rlx** is copyright (c) 2013 muji <http://xpm.io>

## SEE ALSO

rlx(1), couchdb(3)


[SYNOPSIS]: #SYNOPSIS "SYNOPSIS"
[NETWORK COMMANDS]: #NETWORK-COMMANDS "NETWORK COMMANDS"
[MISCELLANEOUS COMMANDS]: #MISCELLANEOUS-COMMANDS "MISCELLANEOUS COMMANDS"
[BUGS]: #BUGS "BUGS"
[COPYRIGHT]: #COPYRIGHT "COPYRIGHT"
[SEE ALSO]: #SEE-ALSO "SEE ALSO"


[rlx-alias(3)]: rlx-alias.3.html
[rlx-attach(3)]: rlx-attach.3.html
[rlx-auth(3)]: rlx-auth.3.html
[rlx-bulk(3)]: rlx-bulk.3.html
[rlx-config(3)]: rlx-config.3.html
[rlx-db(3)]: rlx-db.3.html
[rlx-debug(3)]: rlx-debug.3.html
[rlx-design(3)]: rlx-design.3.html
[rlx-doc(3)]: rlx-doc.3.html
[rlx-external(3)]: rlx-external.3.html
[rlx-page(3)]: rlx-page.3.html
[rlx-repl(3)]: rlx-repl.3.html
[rlx-server(3)]: rlx-server.3.html
[rlx-settings(3)]: rlx-settings.3.html
[rlx-tpl(3)]: rlx-tpl.3.html
[rlx(1)]: rlx.1.html
