打开chrome调试器控制台会显示如下错误堆栈:
TypeError: _firestore.default.arrayUnion is not a function
at joinTeam$ (sagas.js:10)
at tryCatch (runtime.js:45)
at Generator.invoke [as _invoke] (runtime.js:271)
at Generator.prototype.<computed> [as next] (runtime.js:97)
at next (redux-saga-core.dev.cjs.js:1155)
at proc (redux-saga-core.dev.cjs.js:1106)
at redux-saga-core.dev.cjs.js:589
at immediately (redux-saga-core.dev.cjs.js:60)
at runForkEffect (redux-saga-core.dev.cjs.js:588)
at runEffect (redux-saga-core.dev.cjs.js:1202)
如果我关闭错误控制台,而是打开React Native Debugger(https://github.com/jhen0409/react-native-debugger),则无法解析跟踪源(请注意blob:file:// ...)
TypeError: _firestore.default.arrayUnion is not a function
at joinTeam$ (blob:file:///5e0d40ea-241f-42f2-8729-e18132733f32:178103:141)
at tryCatch (blob:file:///5e0d40ea-241f-42f2-8729-e18132733f32:27051:19)
at Generator.invoke [as _invoke] (blob:file:///5e0d40ea-241f-42f2-8729-e18132733f32:27226:24)
at Generator.prototype.(anonymous function) [as next] (blob:file:///5e0d40ea-241f-42f2-8729-e18132733f32:27094:23)
at next (blob:file:///5e0d40ea-241f-42f2-8729-e18132733f32:120960:29)
at proc (blob:file:///5e0d40ea-241f-42f2-8729-e18132733f32:120938:5)
at blob:file:///5e0d40ea-241f-42f2-8729-e18132733f32:120482:19
at immediately (blob:file:///5e0d40ea-241f-42f2-8729-e18132733f32:119970:14)
at runForkEffect (blob:file:///5e0d40ea-241f-42f2-8729-e18132733f32:120481:5)
at runEffect (blob:file:///5e0d40ea-241f-42f2-8729-e18132733f32:120989:9)
是否有任何提示可以解决源代码,以便在该工具中轻松调试?谢谢。