According to the documentation, it is possible to launch a program before debugging:
To launch a task before the start of each debug session, set the
I've only really seen the taskName used in relation to Gulp; I'm sure there are others but nothing that I have much insight into. Perhaps this can get you off to a start with what you already have?
Run a pre-launch task in VSCODE