Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
![Screenshot 2023-12-05 at 23 42 12](https://private-user-images.githubusercontent.com/83593673/288264245-ed8a5968-1fab-4e29-89e5-dc25862a7a53.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NDY5MTAsIm5iZiI6MTczOTU0NjYxMCwicGF0aCI6Ii84MzU5MzY3My8yODgyNjQyNDUtZWQ4YTU5NjgtMWZhYi00ZTI5LTg5ZTUtZGMyNTg2MmE3YTUzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDE1MjMzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE0OWIyZWFkOTRhOTk2OTE4MDVhNzc1MmFjODQ0MTc2YWM0NjQ5YTI4ZTU0ZmE1MmQ0MmRjM2E3YWU3ZDBhYzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Azx1Av-tYCMm-0yXJzkTRnZTTt9ocmKyV3lvbkXlqKo)
Error: Unexpected token p in JSON at position 4
.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