Hi,
i bulding a forge ui kit app and struggeling with the debugging in vs code. I setup Debug Forge functions using VS Code , but i can not set breakpoints.
VS Code says We couldn’t find a corresponding source location, and didn’t find any source with the name index.js.
How did you expect this file to be loaded? (If you have a compilation step, you should pick ‘sourcemap’)
He generated some files
after setting up to this with outfiles
{
"version": "0.2.0",
"configurations": [
{
"name": "Attach Forge App Debugger",
"type": "node",
"request": "attach",
"port": 9229,
"sourceMaps": true,
"outFiles": [
"${workspaceFolder}/.forge/tunnel-output/bundled/**/*.cjs",
"${workspaceFolder}/dist/**/*.js",
"${workspaceFolder}/.forge/tunnel-output/*.cjs"
]
}
]
}
i can setup aq breaqkpoint in the cjs file and it stops there, but have the breakpoint not to be setup in the sourcecode ?
I dont know how i can make it run to debug the resolvers.
I get it right that the ui cannot be ddebugged ?