Enables debugging on a VM instance. This allows you to use the SSH command to connect to the virtual machine where the instance lives. While in "debug mode", the instance continues to serve live traffic. You should delete the instance when you are done debugging and then allow the system to take over and determine if another instance should be started.
Only applicable for instances in App Engine flexible environment.
HTTP request
POST https://appengine.googleapis.com/v1/{name=apps/*/services/*/versions/*/instances/*}:debug
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-05-23 UTC."],[[["This document describes how to enable debugging on a VM instance in the App Engine flexible environment, allowing SSH connections for debugging while the instance continues to serve live traffic."],["The HTTP request to enable debugging is a `POST` request to a specific URL, using gRPC Transcoding syntax, which requires a resource `name` in the URL path."],["The request body must contain the public SSH key (`sshKey`) to be added to the instance, with specific formatting requirements for the key."],["Successful debugging requests return an `Operation` instance in the response body."],["Enabling debugging requires the `appengine.instances.enableDebug` IAM permission and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]