Hi,
I am getting started with the search-ui components and have the elasticsearch-example from the search-ui up and running in Visual Studio Code.
I can create a launch.json to configure the environment for debugging.
Although the debugger starts, any breakpoint that I set becomes 'unbound'.
I have tried to add the outFiles option, but that does not help.
{
"type": "node",
"request": "launch",
"name": "search-ui debug",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "npm",
"runtimeArgs": ["run-script", "start"],
"outFiles": [ "${workspaceRoot}/src/*.js" ]
}
I hope someone can share a working launch.json to help get started with debuggin.
In other React Apps I don't have this problem.
This is the repo that I am using: https://github.com/elastic/search-ui/tree/master/examples/elasticsearch