Closed cDillanb closed 1 year ago
I'm not familiar with firebase, but it looks like your source code is not getting loaded, or you're debugging the wrong thing: looking at the log file, no scripts except for ones in node_modules are loaded in the runtime. Breakpoints will not bind until the corresponding source is loaded into the runtime.
I suggest looking some more into your firebase setup to figure out why this is. If you're sure your functions are being run, double check how you set up debugging for firebase.
Describe the bug ✅ This breakpoint was initially set in:
/home/cdillanb/AndroidStudioProjects/order_fulfillment/functions/src/generateRackImages.ts line 38 column 1
❓ We couldn't find a corresponding source location, and didn't find any source with the name generateRackImages.ts.
To Reproduce
npm run debug
to start inspections. The debugger attaches, but I get the error above. My typescript is being compiled into fromfunctions/src
intolib/src
, which is theoutDir
and I havesourceMap
set to true. Why am I getting unbound breakpoints?Screenshot showing compiled lib directory.
tsconfig.json
launch.json
package.json
Log File vscode-debugadapter-e6256dda.json.gz
VS Code Version: 1.75.0 Additional context Version: 1.75.0 Commit: e2816fe719a4026ffa1ee0189dc89bdfdbafb164 Date: 2023-02-01T15:29:17.766Z Electron: 19.1.9 Chromium: 102.0.5005.194 Node.js: 16.14.2 V8: 10.2.154.23-electron.0 OS: Linux x64 5.15.89-1-MANJARO Sandboxed: No