How to debug Extendscript with VSCode when the debugger quits after building the GUI?

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
Posts: 1
Joined: June 5th, 2020, 7:42 pm

Firstly hello aenhancers!

So if you're like me, love scripts, hate ESTK.
It seems recommendation now is to use VSCode and the Extendscript debugger rather than the antiquated ESTK, but how is one to use breakpoints etc when the debugger quits?

I've created scripts following a common structure that has a buildUI() function and many other functions called by buttons in the UI.
But once the buildUI() function is called, the UI is Idle until a button is pressed and the debugger sees this as the script finished so I cant get output to the debug console and non of my breakpoints are ever seen.

How do we work around this?

Post Reply