I usually have my Firebase projects organized with a separate repo for the web app, manager portal, and cloud functions. Because the web app and manager portal use the same firebase project I keep the cloud functions in their own separate repo. So 3 different repos/projects using the same Firebase project.
I'm testing out how to use the Firebase Local Emulator Suite with this set up but it doesn't appear I can start the emulator for the cloud functions within my Cloud Function project, then use the emulator in my web app project for firestore and calling the functions, and then the same for my manager portal project. This will cause conflicts and cause them all to run on different ports and the functions project won't have access to the firestore emulator and the web app and manager won't have access to the functions emulator.
Is there a way to make this work? The only way I can see how is to have my manager app, web app, and functions all in the same project/repo...which I don't want to do for a bunch of reasons.
Currently I just set up a 2nd Staging project on firebase and use that for testing but would love to be able to do all of this locally. Any help is much appreciated.