Determine launch.json configuration field from result of task #237607
Labels
debug
Debug viewlet, configurations, breakpoints, adapter issues
feature-request
Request for new features or functionality
Milestone
I have a program that I run via a launch.json config, where the program's path gets determined by the preLaunchTask. The task writes a file out with the path, and the launch config reads from that path:
tasks.json
launch.json
However, this fails because VSCode reads from the file before the preLaunchTask runs, so it can't get the new output. Is there any way to populate a field in a launch.json configuration from the output of a task?
The text was updated successfully, but these errors were encountered: