Last active
December 27, 2023 22:21
-
-
Save brianray/a99b912affe874d6b6294146c0f8a273 to your computer and use it in GitHub Desktop.
debug GCP Cloud Functions locally with VSCode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Python: Cloud Function Emulate", | |
"type": "python", | |
"request": "launch", | |
"module": "functions_framework", | |
"justMyCode": false, | |
"args": [ | |
"--target", | |
"your_function", | |
"--debug" | |
], | |
"cwd": "${workspaceFolder}/path_to/cloud_functions/" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment