Launch.json: Attribute ‘program’ does not exist “path”

I build ionic mobile app using VScode , I want to debug my app then I get this error :
“Launch.json: Attribute ‘program’ does not exist “path””

what is the solution for this error ?

Check the second answer.

thank you Rafaelblink,
Do you mean that I change the path to be :
“program”: “${workspaceFolder}/vscode/app.js” ?

No no, your “app.js” is inside vscode folder?

Check this image, the “app.js” is inside the “js” folder, so the program attr should look like this:

“program”: “${workspaceFolder}/js/app.js"
"program”: “${workspaceFolder}/js/*.js”