Somehow i managed to break something with my firebase emulator. It already worked in the past and i don´t know why its no longer working.
When calling
firebase emulators:start --inspect-functions
Everythings starts up as expected, but i get the warning
--inspect-functions only supported for Node.js runtimes.
When trying to attach the debugger in VS Code its visible in the CALL STACK for ~5 seconds an then disappears. Also in the terminal i don´t get the "Debugger attached" message when starting.
Here is my launch.json
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "attach",
"name": "Debug",
"restart": true,
"port": 9229
}
]
}
Does anyone have a idea why its not working?
CodePudding user response:
As per the discussion from this githud thread , Issue must be with firebase-tools
version. Downgrading to an older version (i.e v11.21.0
) of firebase-tools
will solve the issue.