Skip to content

Conversation

@parthasaradhie
Copy link
Contributor

related to #337

Env variable DEBUG is used in CONTRIBUTING.md?plain=1#L356
Setting this to true will start gemini in inspect-brk mode which will wait for node debugger to attach indefinitely. resulting in looks like freeze.

so i have removed the support of the env variable and added warning to users to notify it side effects.

@parthasaradhie
Copy link
Contributor Author

/gemini review

@parthasaradhie
Copy link
Contributor Author

@gemini-cli /review

1 similar comment
@MJjainam
Copy link
Collaborator

MJjainam commented Dec 6, 2025

@gemini-cli /review

@gemini-cli
Copy link

gemini-cli bot commented Dec 6, 2025

🤖 Hi @MJjainam, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

Copy link

@gemini-cli gemini-cli bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

## 📋 Review Summary

This pull request renames the DEBUG input to GEMINI_DEBUG to avoid conflicts with the Node.js debugger and updates the debug logging mechanism. The changes are generally good, but there are a few important issues to address, including a security policy violation and the use of an unreliable sleep command.

🔍 General Feedback

  • The changes to README.md are clear and effectively warn users about the previous issues with the DEBUG variable.
  • The move to GEMINI_DEBUG is a good improvement to avoid environment variable collisions.

@MJjainam
Copy link
Collaborator

MJjainam commented Dec 8, 2025

Should we update all the vars.DEBUG variable to vars.GEMINI_DEBUG ?

@parthasaradhie
Copy link
Contributor Author

Should we update all the vars.DEBUG variable to vars.GEMINI_DEBUG ?

Updated all the references

@MJjainam MJjainam merged commit 59aecd4 into google-github-actions:main Dec 8, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants