Debugging with Debugger

You can use Cloud Debugger to inspect the state of a running app in real time, without stopping or slowing it down.

Debugger can automatically detect code from multiple languages and Google Cloud platforms. How you set up Debugger varies depending on what programming language your app uses. To learn how to set up Debugger, see these how-to guides.

After you set up Debugger for your app, your next step is to select your source code. Depending on your app, you can either have Debugger select your source code automatically or you can select your source code manually.

In cases where Debugger doesn't detect your code automatically, you can select it manually by following these steps:

  1. In the Google Cloud Console, go to the Stackdriver Debug page.

    Go to the Stackdriver Debug page

  2. From the Select source drop-down list, click Add source code.

  3. In the Alternative source code pane, find the Cloud Source Repositories section, and then click Select source.

    Cloud Source Repository source card

  4. In the Select source from Cloud Source Repositories dialog, select the options for your Google Cloud project, repository, and the branch or tagged version.

  5. Click Select Source.

What's next