Closed tristanlabelle closed 6 months ago
@adam-fowler I think onDebugInitialConfiguration
is rather when you don't have a launch.json
file, press F5, and the extension is supposed to contextually figure out a debug configuration (for example single-file debugging in a shell language)
In Swift projects using CMake as the build system, the Swift extension doesn't auto-start when debugging, resulting in the below:
onDebugInitialConfiguration
might also be useful since the Java extension does this, but I'm not sure how to test it and the current change solves the problem I'm after.How tested: tried starting debugging before and after.