update debugging, improve docu based on feedback
attempts to fix the issue mentioned here
@jektvik could you try the updated approach and documentation? Basically try debugging with the new readme and code setup. If something is missing just comment in this PR.
If no response is coming from your side, will probably merge in the following days.
Okay, i tried realy quick.
Downloaded the repo.
Opened in Vs code at root level.
pnpm i (aka npm i)
Opened index.js and set a breakpoint. Hit debug.
Didn't work.
Uncaught Error Error: Cannot find module 'C:\Users\jektv\Desktop\nodejs-typescript-modern-starter-main (1)\nodejs-typescript-modern-starter-main\dist\src\index.js'
@jektvik
did you follow the readme?
should have yarn debug in one terminal before running debug in vscode. Did write something on tjat in the readme. If you want "hot reload" with debuggig also check the readme