From 6e7adcb8046a312346144802db46b2c905b8c185 Mon Sep 17 00:00:00 2001 From: ilpersi Date: Wed, 22 Jan 2020 00:43:54 +0100 Subject: [PATCH 1/2] Adding `debug` parameter to the README.md documentation. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index af118b44..e4da278e 100644 --- a/README.md +++ b/README.md @@ -130,6 +130,7 @@ Command-line flag | Environment variable | Description `--target` | `FUNCTION_TARGET` | The name of the exported function to be invoked in response to requests. Default: `function` `--signature-type` | `FUNCTION_SIGNATURE_TYPE` | The signature used when writing your function. Controls unmarshalling rules and determines which arguments are used to invoke your function. Default: `http`; accepted values: `http` or `event` `--source` | `FUNCTION_SOURCE` | The path to the file containing your function. Default: `main.py` (in the current working directory) +`--debug` | `DEBUG` | A boolean flag that allows to run functions-framework to run in debug mode. Default: `False` # Enable CloudEvents From 793f75bbc588381e038630f46e74a2be1bb81430 Mon Sep 17 00:00:00 2001 From: Dustin Ingram Date: Thu, 30 Jan 2020 11:19:07 -0600 Subject: [PATCH 2/2] Add note about live reloading as well --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e4da278e..bbb122af 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,7 @@ Command-line flag | Environment variable | Description `--target` | `FUNCTION_TARGET` | The name of the exported function to be invoked in response to requests. Default: `function` `--signature-type` | `FUNCTION_SIGNATURE_TYPE` | The signature used when writing your function. Controls unmarshalling rules and determines which arguments are used to invoke your function. Default: `http`; accepted values: `http` or `event` `--source` | `FUNCTION_SOURCE` | The path to the file containing your function. Default: `main.py` (in the current working directory) -`--debug` | `DEBUG` | A boolean flag that allows to run functions-framework to run in debug mode. Default: `False` +`--debug` | `DEBUG` | A boolean flag that allows to run functions-framework to run in debug mode, including live reloading. Default: `False` # Enable CloudEvents