Automate selecting the target app in VS Code
Copy link to clipboard
Copied
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)
Explore related tutorials & articles
Copy link to clipboard
Copied
Did you try the following
Copy link to clipboard
Copied
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

