firebase serve and debugging functions?

后端 未结 2 1645
庸人自扰
庸人自扰 2020-12-19 17:19

I ran

firebase serve --only-functions

Then ran

functions inspect addMessage

So I

2条回答
  •  一向
    一向 (楼主)
    2020-12-19 17:57

    As of firebase-tools v7.11.0, the Firebase emulator now supports attaching a debugger with the --inspect-functions option. This answer shows WebStorm-specific instructions that can be easily adapted to other debuggers.

提交回复
热议问题