unable to debug typescript sources #1329

Closed
opened 2025-08-09 17:19:43 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @lucamorelli on 10/7/2016

Hi, I don't know if I'm missing something about webpack, but I would like to know if is there any way to debug the running application using chrome and typescript.
Normally, using angular 2 and system.js when I can debug the application setting breakpoints in the typescript source inside the chrome dev tools: normally I add just the inlineSourceMap and inlineSources to the tsconfig file, but I don't know if it's necessary.
I tried this with the project generator via yo: I look in the web tools, and in the webpack:// section I find the .ts files, but I see the compiled js file and I can set breakpoint, but I think it's very difficult to work this way in a real application.
Is there any way to do this?

*Originally created by @lucamorelli on 10/7/2016* Hi, I don't know if I'm missing something about webpack, but I would like to know if is there any way to debug the running application using chrome and typescript. Normally, using angular 2 and system.js when I can debug the application setting breakpoints in the typescript source inside the chrome dev tools: normally I add just the inlineSourceMap and inlineSources to the tsconfig file, but I don't know if it's necessary. I tried this with the project generator via yo: I look in the web tools, and in the webpack:// section I find the .ts files, but I see the compiled js file and I can set breakpoint, but I think it's very difficult to work this way in a real application. Is there any way to do this?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1329
No description provided.