react-typescript-express-ssr-example icon indicating copy to clipboard operation
react-typescript-express-ssr-example copied to clipboard

Question: vs code breakpoints in dev

Open AdeOpe opened this issue 4 years ago • 1 comments

Hi For your solution, when using vscode are you able to attach the debugger and hit a bounded breakpoint when running in dev mode locally ?

AdeOpe avatar Feb 22 '21 00:02 AdeOpe

Hi, I spent sometime looking at this. So the answer is No, with your current solution it will not attach to a debugger.

but with my changes here -> https://github.com/weyheyhey/react-typescript-express-ssr-example/compare/master...AdeOpe:patch-1

it will attach if you run your yarn start command in a javascript debug terminal within VS Code.

Please test, approve and merge my PR https://github.com/weyheyhey/react-typescript-express-ssr-example/pull/11

AdeOpe avatar Feb 22 '21 15:02 AdeOpe