GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — nodejs-docs-samples/debugger at master · enterstudio/nodejs-docs-samples

Expand file tree

/

debugger

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

debugger

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
README.md
README.md
 
 
app.js
app.js
 
 
app.yaml
app.yaml
 
 
package.json
package.json
 
 
yarn.lock
yarn.lock
 
 

README.md

Outline

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. Acquire local credentials for authenticating with Google Cloud Platform APIs:

    gcloud beta auth application-default login

  5. Configure git to use gcloud SDK:

    git config credential.helper gcloud.sh

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

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

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

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

  8. Deploy the app:

    gcloud app deploy

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

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

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.