
上QQ阅读APP看书,第一时间看更新
Debugging functions
Functions running locally in the emulator can be debugged at any time by running functions debug <FUNCTION>, or functions inspect <FUNCTION> to use the V8 inspector integration. Once debugging is enabled, run functions <debug | inspect> --help to retrieve the debug port. This port can be used to attach any Node.js debugging tool to the running process.