Skip to main content
Participant
August 13, 2020
Answered

ExtendScript Debugger cannot launch debug session of Premiere Pro

  • August 13, 2020
  • 1 reply
  • 2006 views

I am having a problem using ExtendScript Debugger in Visual Studio Code on both Mac (Darwin x64 19.5.0) and Windows (Windows_NT x64 10.0.18363) machines. I have the latest versions of Visual Studio Code 1.47.3, Adobe Premiere Pro 14.3.1 (Build 45) and ExtendScript Debugger v1.1.2.

 

I select 'Adobe Premiere Pro 2020' in selector for targets

Select the target application

 

 Then I see the following message:

Target 'Adobe Premiere Pro 2020' is not running. Select 'yes' to launch.

 

After selecting 'yes' nothing happens. As I can see in the video tutorials - it suppose to launch the application and attach to it for debugging. Absolutely same behavior under Windows and Mac. Also 'Running as Administrator' on Windows doesn't change anything.

 

Restarting VS Code, PPro and computers do not help.

 

Thank you in advance for any help!

This topic has been closed for replies.
Correct answer Bruce Bullis
  1. Put PProPanel in /extensions directory
  2. Open /PProPanel in VSCode
  3. Add ExtendScript debugging configuration (if not already present)
  4. Set breakpoints in .jsx file
  5. Launch PPro
  6. In VSCode, "Start Debugging" <F5>
  7. In PPro, click appropriate PProPanel button to hit breakpoint

1 reply

Bruce Bullis
Community Manager
Community Manager
August 13, 2020

I haven't encountered any VSCode ExtendScript debugger problems that restarting everything didn't cure. 😉

How was PPro 14.x ("2020") installed; CC Desktop, or some other method?

On Windows, can ESTK successfully launch PPro 14.x? 

Instead of launching PPro to start a session, can you successfully attach to a running instance?

Can you send your debug configuration? Here's PProPanel's; any obvious differences? 


 

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "extendscript-debug",
            "request": "launch",
            "name": "Debug in PPro",
            "program": "${workspaceFolder}/jsx/PPRO/Premiere.jsx",
            "stopOnEntry": false,
            "trace": true,
            "logFile" : "/Users/bbb/Desktop/PProPanel_Log.txt",
            "selectTargetColor": "blue"
        },
        {
            "type": "chrome",
            "request": "attach",
            "name": "Attach to Chrome",
            "port": 7777,
            "webRoot": "${workspaceRoot}"
        }
    ]
}

 

Participant
August 14, 2020

Thank you for quick response.

 

I installed ESTK from CC Desktop application, but the "Open" button is grayed.

I started ESTK manually from "C:\Program Files (x86)\Adobe\Adobe ExtendScript Toolkit CC" folder. I tried to launch PPro from ESTK and I've got the following message:

I tried with Adobe Media Encoder 2020 - similar error. However, launching Adobe Premiere Rush from ESTK succeeded.

 

I am using the following debug configuration in VS Code:

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "extendscript-debug",
            "request": "launch",
            "name": "Debug in PPro",
            "program": "${workspaceFolder}/jsx/PPRO/Premiere.jsx",
            "stopOnEntry": true,
            "trace": true,
            "selectTargetColor": "blue"
        },
        {
            "type": "chrome",
            "request": "attach",
            "name": "Attach to Chrome",
            "port": 7777,
            "webRoot": "${workspaceRoot}"
        }
    ]
}

 

Instead of launching PPro to start a session, can you successfully attach to a running instance?

I am not sure how to attach to running instance? Could you please send me the instructions?

Thank you!

Bruce Bullis
Community Manager
Bruce BullisCommunity ManagerCorrect answer
Community Manager
August 14, 2020
  1. Put PProPanel in /extensions directory
  2. Open /PProPanel in VSCode
  3. Add ExtendScript debugging configuration (if not already present)
  4. Set breakpoints in .jsx file
  5. Launch PPro
  6. In VSCode, "Start Debugging" <F5>
  7. In PPro, click appropriate PProPanel button to hit breakpoint