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

Extendscript Debugger for VSCode: Debug output?

Community Beginner ,
Oct 06, 2022 Oct 06, 2022

Hi everybody,

 

I am trying to write a script for Illustrator with the Extendscript Debugger for VSCode. And I want to put out some debugging messages. But I cannot figure out how to do that.

I tried print(), $.writeln(), console.log() and a few other things. But none of it works. All all these functions and objects are apparently undefined.

 

So, how do you make a debug output?

 

Thanks!

TOPICS
Scripting , Tools
425
Translate
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

correct answers 1 Correct answer

Community Expert , Oct 06, 2022 Oct 06, 2022

Hi, 

$.writeln() works. See attached screenshot.

Screenshot 2022-10-06 at 1.23.39 PM.png

 

Translate
Adobe
Community Expert ,
Oct 06, 2022 Oct 06, 2022
LATEST

Hi, 

$.writeln() works. See attached screenshot.

Screenshot 2022-10-06 at 1.23.39 PM.png

 

Best regards
Translate
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