nodejs-typescript-modern-starter icon indicating copy to clipboard operation
nodejs-typescript-modern-starter copied to clipboard

update debugging, improve docu based on feedback

Open xddq opened this issue 1 year ago • 2 comments

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.

xddq avatar May 19 '24 21:05 xddq

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 avatar May 20 '24 13:05 jektvik

@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

xddq avatar May 20 '24 14:05 xddq