Skip to main content
Participating Frequently
October 6, 2022
Answered

Extendscript Debugger for VSCode: Debug output?

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 is closed to new replies. Start a new post to keep the conversation going.
Charu Rajput
Charu RajputCorrect answer
Community Expert
October 6, 2022

Hi, 

$.writeln() works. See attached screenshot.

 

 

Best regards

1 reply

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

Hi, 

$.writeln() works. See attached screenshot.

 

 

Translate
Best regards