Run command on host from container vscode environment

I’m wanting to use a dev container environment to build for a windows application.
I started with the sample https://github.com/Microsoft/vscode-remote-try-cpp and added MinGW-64 support. I’m able to compile to a .exe from within the container. Great, all is peachy so far!

I was wondering if, since my host machine is windows, if there was a way to call the executable from the host container as part of the launch.json actions? and possibly attach the debugger?

The context of a launch.json or tasks.json seem to be only be inside the container itself, so is what I’m wanting to do impossible? or is there even some way to do it via a .bat or .cmd script?

Source: StackOverflow