2

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?

  • As we are experiencing the same issue, I filed a ticket in the Java Cloud Debugger repo https://github.com/GoogleCloudPlatform/cloud-debug-java/issues/18 – vpgcloud Oct 15 '21 at 12:24

1 Answers1

0

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?

vpgcloud
  • 1,294
  • 2
  • 10
  • 19
  • we are using app.yaml, for the 2nd gen runtime (java 11), and we are not using urlfetch, so I guess it is something else in our case. – montss Oct 24 '21 at 08:11