Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugging Typescript for Cordova App in Intellij

I'm intending to write a new Cordova app with Typescript and Ionic in Intellij.

I currently develop using js and use the chrome remote debugging feature (to device) which allows me to step through the js code.

Is there currently a way to achieve remote debugging with the Typescript code as opposed to the transpiled js code from Intellij.

If this is not possible any suggestions for workflow would be appreciated.

TIA

UPDATE:

There is currently a JetBrains issue ~ Add Cordova debugging support

Hopefully, if implemented, this will address my question (above).

If you want this feature, vote on the link above.

like image 983
Hurricane Avatar asked Jan 28 '26 15:01

Hurricane


1 Answers

I'm sorry but I can't help regarding remote debugging support for TypeScript in Intellij.

We use https://www.npmjs.com/package/source-map-support which provides source map support for stack traces which is really helpful in tracing the error to the actual location in the TypeScript file.

like image 157
Param Avatar answered Jan 31 '26 04:01

Param



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!