File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -249,6 +249,22 @@ Ensure you follow all the instructions in
249
249
to get the SNS Topic to trigger the Lambda function for SES notifications.
250
250
251
251
252
+ # ## Debugging
253
+
254
+
255
+ Enable debugging by setting the ` NODE_ENV=test` environment variable.
256
+
257
+ < img width=" 821" alt=" NODE_ENV=test" src=" https://user-images.githubusercontent.com/194400/78032144-75dfad00-735c-11ea-8eac-681bb2a3da9a.png" >
258
+
259
+ Now the _latest_ ` event` will be saved to:
260
+ https://ademoapp.s3.eu-west-1.amazonaws.com/event.json
261
+ ! [image](https://user-images.githubusercontent.com/194400/78031698-cd314d80-735b-11ea-85b3-b7645f3e4c2a.png)
262
+
263
+ And SNS messages are saved to:
264
+ https://ademoapp.s3.eu-west-1.amazonaws.com/sns.json
265
+ ! [image](https://user-images.githubusercontent.com/194400/78031940-24372280-735c-11ea-878f-d0fe2f4d2415.png)
266
+
267
+
252
268
253
269
< br /> < br /> < br />
254
270
You can’t perform that action at this time.
0 commit comments