Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ExtendScript Debugger cannot launch debug session of Premiere Pro

New Here ,
Aug 13, 2020 Aug 13, 2020

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!

TOPICS
SDK
2.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Aug 14, 2020 Aug 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
Translate
Adobe Employee ,
Aug 13, 2020 Aug 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}"
        }
    ]
}

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 14, 2020 Aug 14, 2020

Thank you for quick response.

 

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

CC Desktop.png

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:

ESTK.png

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!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 14, 2020 Aug 14, 2020
LATEST
  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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines