Hello friends! I created an app using Forge with Custom UI, I’m trying to figure out how to use Chrome development tool and attach a debugger to the code. When I run forge tunnel --debug
, I got the following error:
Tunnel redirects requests you make to your local machine. This occurs for any Atlassian site where your app is installed in the specific development environment. You will not see requests from other users.
Tunnelling to: DEV development
Press Ctrl+C to cancel.
Error: --functionHandlers flag must be defined in debug mode.
I’ve checked the docs but there’s no --functionHandlers
available in the options. Hope I could get some tips/advices of the error and how to set up a debugger.
Here is my manifest:
modules:
confluence:globalPage:
- key: forge-example
resource: main
resolver:
function: resolver
title: New Discovery
route: forge-example
function:
- key: resolver
handler: index.handler
resources:
- key: main
path: front-end/build
permissions:
content:
styles:
- unsafe-inline
scripts:
- unsafe-inline
- "blob:"
app:
id: <app-ari>
licensing:
enabled: false
runtime:
name: nodejs18.x
Appreciated!