Skip to content

Commit fa5e308

Browse files
committed
Updated README.md
1 parent 9a4a751 commit fa5e308

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,19 @@ exports.handler = async (event) => {
8484
require('slappforge-lambda-debug-proxy');
8585
```
8686

87+
> **Important**
88+
>
89+
> If you intend to use **Visual Studio Code** as the IDE for the debugging, please add a `debugger;` statement as the
90+
> very first line of the function handler.
91+
> ```
92+
> exports.handler = async (event) => {
93+
> debugger;
94+
> // rest of the function code
95+
> };
96+
>
97+
> require('slappforge-lambda-debug-proxy');
98+
> ```
99+
87100
#### Configuring Lambda environment variables
88101
89102
Then the following environment variables must be set for the Lambda function with the appropriate values.

0 commit comments

Comments
 (0)