Skip to content

Instantly share code, notes, and snippets.

@brianray
Last active December 27, 2023 22:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianray/a99b912affe874d6b6294146c0f8a273 to your computer and use it in GitHub Desktop.
Save brianray/a99b912affe874d6b6294146c0f8a273 to your computer and use it in GitHub Desktop.
debug GCP Cloud Functions locally with VSCode
{
"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