functions-framework-python-vscode icon indicating copy to clipboard operation
functions-framework-python-vscode copied to clipboard

Minimal VS Code setup needed for debugging using functions framework

functions-framework-python VS Code debugging

Minimal VS Code setup needed for debugging using functions framework (python)

There are examples for both HTTP functions and background functions.

Extensions

These examples require the Python extension to be installed for VS Code.

Other helpful extensions are:

Debugging

Open any of the example folders in VS Code - i.e. they need to be your root. A simple F5 should start functions framework with the debugger attached to it. It should also stop at any breakpoints.