• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Debug with Visual Studio Code - Complex Project

Community Beginner ,
Apr 14, 2021 Apr 14, 2021

Copy link to clipboard

Copied

For years I have been programming InDesign in javascript using ExtendScript Toolkit as a debugger.

With this tool I can debug complex projects composed of multiple jsx files, loading libraries and menus in a specific target-engine when InDesign starts (start-up folder).
Single scripts are launched from the menu.

In all these situations I was able to debug, insert breakpoint in the code ($ .level = 1; debugger;)

The variables defined at start-up are recognized


Is it possible to do something like this with Visual Studio Code with ExtendScript Debugger?

I have seen that debugging a single file is not a problem.... but complex project are nightmare...

Don't see global variables defined at start-up.
Don't recognize the target engine.
Do you have any idea how to configure ExtendScript Debugger for this situations?

 

Code breakpoint ($ .level = 1; debugger;) no longer works?

TOPICS
Scripting

Views

223

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 21, 2021 Apr 21, 2021

Copy link to clipboard

Copied

Hm…

No big help here, but that's why I still use ExtendScript Toolkit on Windows 10.

 

Regards,
Uwe Laubender

( ACP )

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 22, 2021 Apr 22, 2021

Copy link to clipboard

Copied

I agree with Uwe. If you're on a Windows computer, better stick to the ESTK.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 22, 2021 Apr 22, 2021

Copy link to clipboard

Copied

LATEST

"If you're on a Windows computer, better stick to the ESTK."

And if not, I would invest in a Windows machine…

 

Regards,
Uwe Laubender

( ACP )

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines