I have fixed my issue. For reference for others, here are the exact steps I did:
- Open Control Panel > Turn Windows features on or off
- Uncheck Internet Explorer 10
- Click Ok
- Restart
- After restart open Control Panel > Turn Windows features on or off
- Check Internet Explorer 10
- Click Ok
- Restart
At this point my JavaScript debugging worked again.