Is this the problem your having?
When this happens to me I can usually fix by opening vs code again in a new tab