Skip to main content
Inspiring
January 17, 2023
Question

Slow start when start debugging

  • January 17, 2023
  • 1 reply
  • 483 views

 

Hi,

 

On Os X, when starting a debug session using Vs Code and the ExtendScript Debugger, it can take up to a minute before the script is started.  On Windows this is much faster.

 

Is this something which can be fixed?

 

I'm using the latest version of Os X on a MacBook Pro 2019.

 

Thank you.

This topic has been closed for replies.

1 reply

sberic
Legend
January 20, 2023

That shouldn't be happening but we've (I don't work for Adobe but I developed the V2 release) seen situations where it does take some time for the host application to start the script. One thing that appears to help is focusing the host application if the script doesn't start immediately - it's as though the host application's communication channel is "asleep" when in the background sometimes (no idea whatsoever if this is actually a thing).

 

At any rate, determining whether it's something that can be fixed or not would require that we're able to reproduce the issue. Can you provide more information about your environment? Specifically:

 

  • What version of VS Code are you on?
  • What version of the ExtendScript Debugger Extension are you using (expected to be 2.0.3 as you mentioned you're on latest)?
  • What host application are you communicating with?
  • What version of the host application are you running?
  • What version of macOS are you running?

 

Any other potentially relevant information you can provide will also be helpful.

tmmlsAuthor
Inspiring
January 23, 2023

Hi sberic,

 

I'm using Os X 13.1,  Vs Code 1.74.3, ExtendScript Debugger Ext 2.0.3, Adobe Ill. 2022, ...

Setting the focus to the target application after the launch seems to be helpfull in speeding up the process.

 

It also seems more of a problem when the device is connected to WiFi, then when using an ethernet cable... Maybe this could be helpfull info ...

 

Thank you for looking in to this ...