Skip to main content
Participating Frequently
October 6, 2022
Answered

Extendscript Debugger for VSCode: Debug output?

  • October 6, 2022
  • 1 reply
  • 479 views

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!

This topic has been closed for replies.
Correct answer Charu Rajput

Hi, 

$.writeln() works. See attached screenshot.

 

1 reply

Charu Rajput
Community Expert
Charu RajputCommunity ExpertCorrect answer
Community Expert
October 6, 2022

Hi, 

$.writeln() works. See attached screenshot.

 

Best regards