Copy link to clipboard
Copied
Justin thank you for your response. I found the solution by using attach mode when running scripts in VS Code
Copy link to clipboard
Copied
Are you on the latest version of the VS Code ExtendScript extension? Variables will only be updated when hitting a breakpoint, but $.writeln() should show up in the terminal.
Copy link to clipboard
Copied
Justin thank you for your response. I found the solution by using attach mode when running scripts in VS Code
Copy link to clipboard
Copied
Great to hear it's working!
Copy link to clipboard
Copied
Hi, what exactly did you do?
My configuration looks like this and it doesn't work
{
"version": "0.2.0",
"configurations": [
{
"type": "extendscript-debug",
"request": "launch",
"name": "Attach to ExtendScript Engine",
"program": "${file}",
"stopOnEntry": false,
}
]
}
Copy link to clipboard
Copied
Are you looking in the Debug Console?
Copy link to clipboard
Copied
Yes, there's nothing there.
Copy link to clipboard
Copied
Is the code actually executing in AE? If you add an alert() will that show up in AE?
Copy link to clipboard
Copied
Yes, sure.
The code is executed but the Dedug Console is empty
Copy link to clipboard
Copied
Strange, maybe try reinstalling the VS Code extension
Copy link to clipboard
Copied
I have already done all this, periodically over several years. All I have to do is try to reinstall the system, but I won't do it for the Debug Console))
Copy link to clipboard
Copied
Hmm, does it do it with other apps beside AE? Also have you tried re-installing VS Code?
Copy link to clipboard
Copied
Doesn't work in AE, PP, PS.
Copy link to clipboard
Copied
Reinstalling VS Code helped.
Thank you
Copy link to clipboard
Copied
Awesome!
Copy link to clipboard
Copied
Try this:
Copy link to clipboard
Copied
In my case it doesn't work.
upd.
After reinstalling VS Code works.
Thank you, useful information
Copy link to clipboard
Copied
I don't think so. 🤔
Look at your screenshot
You probably simply evaluate the script
My window: