Skip to main content
rollwhistler
Known Participant
Feb 26, 2018 7:03 PM UTC
Question

Typescript files no longer available on Chrome Devtools

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 is closed to new replies. Start a new post to keep the conversation going.

9 replies

Participant
Nov 29, 2020 4:20 PM UTC

Hi Marc, 

Did you get to the bottom of this issue?

Translate
erinferinferinf
Adobe Employee
Adobe Employee
Dec 2, 2020 11:04 PM UTC

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.

Translate
Stefan Riedmann
Inspiring
Mar 3, 2018 3:43 PM UTC

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

Translate
Loic.Aigon
Legend
Feb 27, 2018 11:38 AM UTC
rollwhistler
Known Participant
Feb 27, 2018 2:18 PM UTC

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

Translate
Loic.Aigon
Legend
Feb 27, 2018 2:55 PM UTC

For Typescript I couldn't tell.

Translate