question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use ts-node for Typescript Projects

See original GitHub issue

It would be really nice to use ts-node under the hood for typescript projects when developing. Debugging errors would be far easier seeing where the error happened in the TS code vs compiled JS.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:6
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
tuomaskujalacommented, May 6, 2021

Would be great if this was included in the tools.

As a temporary solution, I’m running tsc -w in another bash tab.

0reactions
thomasgauvincommented, Mar 15, 2022

What is the guidance for debugging TypeScript projects? EDIT: Had to manually adjust ports for inspection as mentioned here https://stackoverflow.com/a/55932453/18146992

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Run TypeScript Scripts with ts-node
In this article you will learn how to run TypeScript scripts without the hassle of manually transpiling.
Read more >
ts-node
ts -node is a TypeScript execution engine and REPL for Node.js. It JIT transforms TypeScript into JavaScript, enabling you to directly execute ...
Read more >
How to Setup a TypeScript + Node.js Project
In this short guide, I'll walk you through the process of creating a basic TypeScript application and compiling it.
Read more >
How To Use TypeScript with Node.js | by Dr. Derek Austin
Step 1. Install TypeScript globally: · Step 2. Initialize a new TypeScript project: · Step 3. Configure tsconfig.json to target Node.js: · Step...
Read more >
ts-node — Use SWC to Speed up TypeScript Code
ts -node transforms TypeScript to JavaScript in-memory without writing it to disk. Large projects may still take some time to process. This is ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found