Skip to content

Latest commit

 

History

History
 
 

debugger

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

StackDriver Debugger sample for Node.js

This sample demonstrates StackDriver Debugger with Node.js.

Deploy and test

Where appropriate, replace [YOUR_PROJECT_ID] with the ID of your Cloud project.

  1. git clone https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git

  2. cd nodejs-docs-samples/debugger

  3. Initialize a new git repository:

    git init

  4. Configure git to use gcloud SDK:

    git config credential.helper gcloud.sh

  5. Add your Cloud Source Repository as a git remote:

    git remote add google https://source.developers.google.com/p/[YOUR_PROJECT_ID]/r/default

  6. Commit and push the code into the Cloud Source Repository:

    git add -A && git commit -m "Initial commit" && git push --all google

  7. Deploy the app:

    gcloud app deploy

  8. View the deployed app at https://[YOUR_PROJECT_ID].appspot.com/.

  9. Use the StackDriver Debugger dashboard to inspect runtime data of the app.