Can't enable GCloud debugger for Java 11 with App Engine standard environment

293 Views Asked by At

We are not able to debug our Appengine Standard Java 11 project using Google cloud debugger

The debugger could not find a debug target for the application name (project-test).

Taking into consideration that The debugger is enabled by default; no configuration is required in App Engine standard environment, as mentioned in this document

So what could be the problem and how can I enable the GCloud debugger?

1

There are 1 best solutions below

1
On

As per the App Engine documentation regarding issuing HTTP requests, if you use URL Fetch, it will cause requests to cloud client libraries (and that includes the Google Cloud Debugger Client for Java) to fail.

Are you using an appengine-web.xml file?

If so, does it include the following?

<url-stream-handler>urlfetch</url-stream-handler>

If that is the case, could you try it without that line?