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

Automate selecting the target app in VS Code

Explorer ,
Nov 20, 2022 Nov 20, 2022

I'm continuing to get used to VS Code and come across a new question. I tried googling, but several hours of searching didn't get me anywhere near the answer.

 

I set up the ExtendScript Debugger config and it works when I run the script to debug. But before that, every time I open (or reload) VS Code, I need to select target application for launch.json.

Is it possible to automate this somehow?
It's ideal to assign a default application to the workspace, as I've created different workspaces for script projects for Illustrator and Photoshop.

Windows 10, VS Code 1.73.1 (latest)

TOPICS
Scripting , SDK
594
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
Community Expert ,
Nov 20, 2022 Nov 20, 2022
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
Explorer ,
Nov 20, 2022 Nov 20, 2022
LATEST

Its about a script running. As I said, I configured this stage. But VS Code asks me to select an application to which to apply the launch.json file itself when I start VS Code, before running the script

I have also tried adding targetSpecifier and hostAppSpecifier to the settings in both launch.json and the workspace settings file. But I still don't know how it works very well because I switched to VS Code quite recently

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