{"id":27438563,"url":"https://github.com/chees/stackdriver-debugger-demo","last_synced_at":"2026-04-29T01:01:31.990Z","repository":{"id":139000908,"uuid":"102199337","full_name":"chees/stackdriver-debugger-demo","owner":"chees","description":"Demo to show the Google Cloud Stackdriver debugger for Node.js","archived":false,"fork":false,"pushed_at":"2017-09-03T14:12:00.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-08T05:09:24.151Z","etag":null,"topics":["demo","gcloud","gke","nodejs","stackdriver"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chees.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-09-02T13:43:41.000Z","updated_at":"2017-09-03T06:38:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"35f91c14-9823-4c85-a802-7bc791c78920","html_url":"https://github.com/chees/stackdriver-debugger-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chees/stackdriver-debugger-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chees%2Fstackdriver-debugger-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chees%2Fstackdriver-debugger-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chees%2Fstackdriver-debugger-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chees%2Fstackdriver-debugger-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chees","download_url":"https://codeload.github.com/chees/stackdriver-debugger-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chees%2Fstackdriver-debugger-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32405903,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["demo","gcloud","gke","nodejs","stackdriver"],"created_at":"2025-04-14T20:40:05.449Z","updated_at":"2026-04-29T01:01:31.983Z","avatar_url":"https://github.com/chees.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stackdriver debugger demo\n\nSee this screenrecording on YouTube for the demo:\n\n[![YouTube video](http://img.youtube.com/vi/197-B9HTJ7o/0.jpg)](http://www.youtube.com/watch?v=197-B9HTJ7o \"Stackdriver Debugger Node.js demo\")\n\n\n## Setup\nCreate a cluster and connect to it:\n\n    gcloud container clusters create code-cooking --scopes https://www.googleapis.com/auth/cloud_debugger --num-nodes=1 --project=code-cooking\n\n    gcloud container clusters get-credentials code-cooking --zone europe-west1-d --project code-cooking\n\nGenerate source context files (do this before each docker build):\n\n    gcloud beta debug source gen-repo-info-file\n\nBuild and push the Docker container:\n\n    docker build -t eu.gcr.io/code-cooking/debugging-demo:0.4 .\n\n    gcloud docker -- push eu.gcr.io/code-cooking/debugging-demo:0.4\n\nDeploy to Kubernetes:\n\n    kubectl apply -f k8s\n\nDebug:\n\n    open https://console.cloud.google.com/debug?project=code-cooking\n\n\n## Demo script\n\n- What is it\n  - Live debugging of applications without interruption\n  - Adding logs to running applications\n\n- How does it work\n  - app.js\n  - Dockerfile\n  - source-context\n  - deployment.yaml\n\n- Deploy version 4\n\n- Snapshot\n  - req\n  - req.headers\n\n- Log\n  - req.headers\n\n- Why cool\n  - reduces debug time\n  - much faster than typical add logs -\u003e deploy -\u003e add logs -\u003e deploy cycle\n  - tradeoff signal versus noise in logging\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchees%2Fstackdriver-debugger-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchees%2Fstackdriver-debugger-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchees%2Fstackdriver-debugger-demo/lists"}