windows wrapper debug
wip