eclipse-typescript
eclipse-typescript copied to clipboard
Supporting Debugging
Wondering if debugging is on the roadmap, and if so, when might it be expected? Thank you so much for a great plugin!
I would love to have debugging. It will likely be a very long time before I can get to it though so if someone in the community wants to take a shot at it, that would be greatly appreciated. I think you can start here: https://code.google.com/p/chromedevtools/
This was fixed by #172!
Does this mean that you can now set breakpoints and inspect variables inside Eclipse for TS files that are running in the browser in JavaScript form? Is there any documentation on this feature? Does it work with Chrome only? It is not mentioned in the feature list here: https://github.com/palantir/eclipse-typescript/blob/master/README.md
Whoops, I think Tim closed this one by mistake. He added support for debugging the Eclipse plug-in code itself - not debugging TypeScript code running in a browser. This should still be open. Sorry for the misunderstanding.
Oh, sorry about that! My mistake. I added a fix to debug the TypeScript plugin itself.
If the TypeScript code you're writing is for Node though, there's a browser-based debugger you can run called node-inspector and it's pretty nice. It's what the plugin code now uses for debugging, and it just opens a Chrome tab when you start the process. Let me know if I can help get you set up with it!
Thanks for the clarification! I'm looking for a way to debug the TypeScript code that is running in the browser (Chrome) from within Eclipse. The other TypeScript Eclipse Plugin - TypEcs - is supporting this kind of debugging, see https://bitbucket.org/axmor/typecs/wiki/2.0%20-%20New%20and%20Noteworthy. Is there any chance that you could adept that feature?
We'd definitely like to support this functionality but we don't have resources for it at this time since it seems like a rather large project (though maybe I'm over-estimating it?). If someone in the community would like to start it, we'd love to take the pull request.