Output of Firestore rules.debug should specify line number #6352
nwaughachukwuma
started this conversation in
General
Replies: 1 comment 1 reply
-
Hi, if I'm understanding correctly this is a feature request for the emulators. Let me know if I'm wrong and this is related to the JS SDK. Otherwise, the repo for the emulators is https://github.com/firebase/firebase-tools (which encompasses the Firebase CLI). You can create an issue there and label it as a feature request. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When working with Firestore rules on the emulator and using debug to print security rules language objects, variables and statement results as they are being evaluated by the security rules engine, it's often necessary to know the file name and line number a printed output references in any case where there're several
debug
statements across multiple test files.Simply put, if I have several
debug
statements as shown below and check the outputs written tofirestore-debug.log
, I should know where each output is coming from - it's sometimes cumbersome when there're so much content in the log and it's easy to get lost looking fordebug
output.Potential output in
firestore-debug.log
Beta Was this translation helpful? Give feedback.
All reactions