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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access