vscode Debugger Cannot find module
I ran into this error myself. In my case, I had simply forgotten to run npm install
to install all the project's dependencies before trying to debug the program. Silly error on my part.
I think your program is using the root when when should be using folder.Try ${workspaceFolder}/app/main.ts rather than ${workspaceRoot}.