Skip to content

Commit 991a53b

Browse files
committed
minor
1 parent b517d85 commit 991a53b

File tree

6 files changed

+7
-3
lines changed

6 files changed

+7
-3
lines changed

lambda-debug-mode/python/base-concurrent-lambda-debug-mode/.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"request": "attach",
88
"connect": {
99
"host": "localhost",
10-
"port": 19891
10+
"port": 19891
1111
},
1212
"pathMappings": [
1313
{

lambda-debug-mode/python/base-concurrent-lambda-debug-mode/handler.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ def handler(event, context):
88

99

1010
def wait_for_debug_client(port: int=19891, timeout: int=3600):
11+
"""Utility function to enable debugging with Visual Studio Code"""
12+
1113
import time, threading
1214
import sys, glob
1315
sys.path.append(glob.glob(".venv/lib/python*/site-packages")[0])
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
functions:
22
arn:aws:lambda:us-east-1:000000000000:function:function-one:
33
debug-port: 19891
4-

lambda-debug-mode/python/base-enable-lambda-debug-mode/handler.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ def handler(event, context):
99

1010

1111
def wait_for_debug_client(port: int=19891, timeout: int=3600):
12+
"""Utility function to enable debugging with Visual Studio Code"""
13+
1214
import time, threading
1315
import sys, glob
1416
sys.path.append(glob.glob(".venv/lib/python*/site-packages")[0])
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
functions:
22
arn:aws:lambda:us-east-1:000000000000:function:function-one:
33
debug-port: 19891
4-

lambda-debug-mode/python/base-multiple-lambda-debug-mode/handler_function_one.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ def handler(event, context):
1212

1313

1414
def wait_for_debug_client(port: int=19891, timeout: int=3600):
15+
"""Utility function to enable debugging with Visual Studio Code"""
16+
1517
import time, threading
1618
import sys, glob
1719
sys.path.append(glob.glob(".venv/lib/python*/site-packages")[0])

0 commit comments

Comments
 (0)