Skip to content

Add an env variable to allow delaying startup of external services #5613

@DanTup

Description

@DanTup

There's currently an issue on Firebase Studio that prevents services that bind to ports really early on in the activate() method from being reachable correctly from the front-end. As a workaround while this is debugged, we should support a custom delay before we spawn things like DTD.

To avoid cluttering the users User or Workspace settings with this, we'll use an env variable that contains the number of milliseconds to delay startup of these services:

DART_CODE_SERVICE_ACTIVATION_DELAY=5000

cc @keertip


Edit: Let's also support a hidden setting for this to simplify testing on cloud IDEs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in remoteRelates to running the extension in a remote setting using VS Code's remote dev supportis enhancementon cloud ide

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions