Error: Unable to Start Program- An operation is not legal in the current state

Few days back , i have got an error when i’m doing debugging on Visual┬áStudio 2017,

The Error is,

Unable to Start Program – An operation is not Legal in the Current State.


the solution is unchecked the java script debugging in Chrome & IE.

Go to Tools in Visual Studio –> Options –> Debugging –> General


Happy Coding !