Problem with Visual Studio Code ExtendScript Debugger - "#15 Can't initialize target"
Hello,
I keep getting the "can't initialize target" error in my VS Code.
- Make sure the ESTK stand-alone application is closed
- Close the target application (example: Photoshop)
- Close Visual Studio Code
- Make sure there are no VS "Code Helper" processes in the Activity Monitor (Mac) or Task Manager (Windows)
- Restart Visual Studio Code
- Does it work then?
- If not, does a reboot help?
I did all of the above and the problem still persists.
OS: macOS Mojave 10.14.6
Premiere Pro version: 14.0.3
ExtendScript Debugger version: 1.1.2
Note: I'm just trying to run your example "PProPanel" plugin with no changes to its code (yet) whatsoever.
Should the `.debug` file exist in the plugin directory to enable debugging via localhost:7777 on Chrome? I tried with and without it (restarting Premiere and computer in between) and I still can't connect.
Also note that the PProPanel plugin does show up in my Premiere Pro and I can interact with it by clicking buttons etc. I just can't connect the debugger.
Please help,
Kamil
