Skip to content

Debugger sample only activates when GCLOUD_PROJECT is defined #237

@ofrobots

Description

@ofrobots

if (process.env.GCLOUD_PROJECT) {

if (process.env.GCLOUD_PROJECT) {
  require('@google/cloud-debug');
}

What is the rationale for checking for GCLOUD_PROJECT being defined? On GCE and GKE, this env. var. is not going to be defined unless the customer explicitly defines it.

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.triage meI really want to be triaged.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions