DEV Community

Discussion on: How to Debug Nodejs, TypeScript Code in VSCode

Collapse
 
jdforsythe profile image
Jeremy Forsythe

I find it much easier to use ts-node and you never have to run the compile task. You can just debug the ts files directly. Check out the launch configs in this repo: github.com/jdforsythe/bloch

Collapse
 
ezzabuzaid profile image
ezzabuzaid

Thank you for sharing, it's very helpfull

Collapse
 
macmacky profile image
Mark Abeto

Thanks! I'm glad that it helped you.

Collapse
 
macmacky profile image
Mark Abeto

Thank you for this info man! Much appreciated.

Collapse
 
lesha profile image
lesha 🟨⬛️

launch.json
MINER_PRIV_KEY

I hope these are temporary keys

Collapse
 
jdforsythe profile image
Jeremy Forsythe • Edited

It's not a real (or secure) network! It was an example for demonstrating blockchain concepts and TypeScript during a presentation I gave to a local college. You can see the slides in the repo, as well.