Forge tunnel --debug command is not working

I am using the forge tunnel --debug command to debug the server side code of my confluence-cloud app from the beginning. It wasn’t working from last Friday(28th June 2023).
I see that latest @forge/cli version released on that date and updated to latest. But there is no use on it.

What is the Forge runtime of your App?

My current version is 10.0.1.

That is the Forge CLI version. I mean the value of runtime in your forge manifest file

app:
  runtime:

I am using this,

runtime:
name: sandbox

Thank you for your help. I changed the runtime to “nodejs18.x” and also downgraded to node 18.x version in my machine.

And followed this documentation https://developer.atlassian.com/platform/forge/debug-functions-using-vscode/ to debug.

Its working now :rofl:

2 Likes

Yes, highly recommend to upgrade your app to NodeJS Runtime which has more advanced and reliable debugger functionality.