Skip to main content
rollwhistler
Known Participant
February 26, 2018
Question

Typescript files no longer available on Chrome Devtools

  • February 26, 2018
  • 3 replies
  • 5123 views

Hi there,

We have developed a plugin using Angular 2, which uses Typescript packaged with Webpack.

On previous versions of indesign, when opening the chrome devtools, we could see a "webpack" folder, with the original .ts files for debugging.

But since I updated Indesign to 2018, I can only debug the final .js files. The webpack folder is nowhere to be seen.

Does anyone have encountered this? Any workarounds? Ideas?

Thank you very much!

Marc

This topic has been closed for replies.

3 replies

Participant
November 29, 2020

Hi Marc, 

Did you get to the bottom of this issue?

erinferinferinf
Adobe Employee
Adobe Employee
December 2, 2020

This is kind of odd... I didn't think you could use TypeScript with InDesign! It's supported for Premiere Pro, XD, and some new APIs, but I didn't know you could use it in the way @Stefan Riedmann writes about above.

Stefan Riedmann
Inspiring
March 3, 2018

rollwhistler​ finally I solved it with a trick, and I like it very much. the actual extension is running inside an iFrame of a static (minimal) extension. Like this, you can debug typescript and use angular's cli webserver (with incremental build and auto refresh).

I wrote it in a post, I'd be happy about some feedback

http://www.ciclosoftware.com/2018/03/02/debuggable-and-refreshing-adobe-extension-with-angular-and-typescript/

Best regards,

Stefan

Loic.Aigon
Legend
February 27, 2018
rollwhistler
Known Participant
February 27, 2018

Thanks Loic, but I don't know how to use it and can't find info.

What I do right now is open localhost:8001 on chrome, and I can access the devtools.

I tried to do the same on the CEF client, but no clue.

Can you point me to a readme or whatever that explain how to debug cep extensions using this?

Thank you!

Marc

Loic.Aigon
Legend
February 27, 2018

For Typescript I couldn't tell.