fix template debug config for msvs, add force inline define