Skip to content

Commit 8693ca8

Browse files
whummerclaude
andcommitted
Fix debugpy path mapping and DOCKER_FLAGS var name
- Fix remoteRoot in launch.json: LocalStack places lambda code at /tmp/aws-toolkit-vscode/lambda/us-east-1/order-handler, not /var/task - Rename LOCALSTACK_DOCKER_FLAGS -> DOCKER_FLAGS in devcontainer remoteEnv - Add Terraform to README prerequisites Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8997fc7 commit 8693ca8

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"LOCALSTACK_APPINSPECTOR_DEV_ENABLE": "1",
2626
"LOCALSTACK_LAMBDA_DEBUG_MODE": "1",
2727
"LOCALSTACK_LAMBDA_DEBUG_MODE_CONFIG_PATH": "/tmp/ls-debug/lambda_debug_mode.yaml",
28-
"LOCALSTACK_DOCKER_FLAGS": "-v /workspaces/localstack-workshop/.localstack:/tmp/ls-debug"
28+
"DOCKER_FLAGS": "-v /workspaces/localstack-workshop/.localstack:/tmp/ls-debug"
2929
},
3030
"postStartCommand": "bash ./00-setup/setup.sh"
3131
}

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"pathMappings": [
1313
{
1414
"localRoot": "${workspaceFolder}/01-serverless-app/lambdas/order_handler",
15-
"remoteRoot": "/var/task"
15+
"remoteRoot": "/tmp/aws-toolkit-vscode/lambda/us-east-1/order-handler"
1616
}
1717
]
1818
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Hands-on workshop: local serverless development with [LocalStack](https://locals
44

55
**Duration:** ~3 hours
66
**Level:** Intermediate
7-
**Prerequisites:** Docker, Python 3.10+, VS Code (for module 03)
7+
**Prerequisites:** Docker, Python 3.10+, Terraform, VS Code (for module 03)
88

99
---
1010

0 commit comments

Comments
 (0)