debugging

This commit is contained in:
Michiel Borkent 2020-05-24 17:48:15 +02:00
parent ef5f121237
commit 557f532d4c

View file

@ -127,7 +127,7 @@ what your pod is about.
Examples: Examples:
- [pod-lispyclouds-sqlite](../examples/pods/pod-lispyclouds-sqlite): a pod to - [pod-lispyclouds-sqlite](examples/pod-lispyclouds-sqlite): a pod to
communicate with [sqlite](https://www.sqlite.org/), provided by communicate with [sqlite](https://www.sqlite.org/), provided by
[@lispyclouds](https://github.com/lispyclouds). [@lispyclouds](https://github.com/lispyclouds).
@ -306,6 +306,11 @@ Example:
"status" "[\"done\", \"error\"]"} "status" "[\"done\", \"error\"]"}
``` ```
#### Debugging
To debug your pod, you can write to stderr of the pod's process or write to a
log file. Currently, stderr is sent to stderr of the pod client.
#### Environment #### Environment
The pod client will set the `BABASHKA_POD` environment variable to `true` when The pod client will set the `BABASHKA_POD` environment variable to `true` when