Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add debug option #325

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

leoortizz
Copy link

Add a debug option that can be used in the deploy config to enable debug mode on firebase-tools in all deployments(preview/prod).

Currently we're having issues in a project and the only error we have is Error: Unexpected token p in JSON at position 4.
Screenshot 2023-12-05 at 23 42 12

This only happens in the GitHub action, not always but quite often, forcing us to manually re-run the failed action, then it magically works. The retry feature isn't being done for some reason and we don't have a clue where the error comes from, but it happens during the deploy process of firebase-tools per the logs.

Additionally, I added some missing types.

Closes #34.

TODOs

  • test action
  • document in README

@jhuleatt
Copy link
Collaborator

A belated thank you, @leoortizz! Would you like to add documentation (you can use #371 as an example)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow passing --debug flag to firebase-tools command
2 participants