If you're having trouble configuring your Compute Engine app to use Stackdriver Debugger, follow the steps below.
Confirm the OAuth scope
Confirm that the Cloud Platform OAuth scope was enabled on the instance:
Visit the VM instances page.
sshsession to the instance you created by clicking the SSH button that appears next to its name.
Get the list of OAuth scopes enabled on the instance by entering the following at the command prompt:
curl -H "Metadata-Flavor: Google" \ http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/scopes
If the Cloud Platform OAuth scope is enabled, the following appears in the output of this command:
Stackdriver Debugger logs
By default, the Stackdriver Debugger agent creates log files in the
directory. The log directory can be changed by using the
in the bootstrap script.
The bootstrap script also has a
--verbose option to print debug information to