In this recipe, we'll run a Flask application, similar to the previous recipe, to demonstrate the debugging facility of the Stackdriver debugger. In addition to running it, the debugger should have access to the code base; in our example we'll upload the code to Google Cloud Repositories:
- Create the Flask VM similar to the previous recipe (step 1 and step 2) or you can re-use the machine created.
- SSH into the VM and make sure Python and PIP are installed.
- Install Git using the following command:
$ sudo apt-get update$ sudo apt-get install git
- Let's move out of the VM, launch a Google Cloud Shell, and create a Google source code repository. If you want to run the gcloud command to create the repository from the VM, the service ...