Debugging the todos services

Stackdriver Debugger can be used virtually anywhere with many languages through runtime agents and client libraries. For Java services running inside Docker containers, Stackdriver Debugger is enabled automatically when using one of the Google Cloud Java base images, as we will do with todos-backend. For Node.js services, Stackdriver Debugger is enabled through the use of the @google-cloud/debug-agent library, which we use in the todos-frontend service.

Let's take a look at Stackdriver Debugger using the todos-backend service. To do so, navigate to Navigation menu | Debug from within the Cloud Console. At the top of the screen you'll see a dropdown where you can select the service you'd like to debug. Select the ...

Get Building Google Cloud Platform Solutions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.