Open p3nnst8r opened 1 year ago
Hi! Any updates to this?
I think it's the extensions that are affecting it. If I specify something other than extensions in the only option, the error no longer occurs.
Like this.
firebase emulators:start --only auth,functions,firestore --inspect-functions
I am having the same issue. As soon as I enable a extension in the firebase.json, e.g.:
"extensions": {
"firestore-send-email": "firebase/firestore-send-email@0.1.19"
}
the debugger does not attach to my code anymore
Any update on this? BTW im on macOS, so not sure about the windows tag.
"firebase-admin": "11.11.0",
"firebase-functions": "4.5.0",
"firebase-tools": "12.8.1",
Its a real hassle to disable extension when trying to set a breakpoint. Is there any more info needed to be able to fix this?
??
Hey all, sorry for letting this slip by. The extensions emulator works very similarly to the codebases feature of functions, and we've seen issues with codebases & the inspect-functions flag before (ie https://github.com/firebase/firebase-tools/commit/cbd6eb369b90026998f12176f867bc1e47f8ed3d). This may be something similar - I'll investigate further and hopefully find a fix.
[REQUIRED] Environment info
firebase-tools: 11.21.0
Platform: Windows 10 Pro (WSL2)
[REQUIRED] Test case
run
firebase emulators:exec --inspect-functions --ui 'npm start'
[REQUIRED] Steps to reproduce
firebase.json
withextensions
andfunctions
:npm --prefix \"functions\" run build:watch
to build the functionsfirebase emulators:exec --inspect-functions --ui 'npm start'
[REQUIRED] Expected behavior
[REQUIRED] Actual behavior