I keep getting this error whenever I try to console log any code.
CodePudding user response:
I think you might need some form of an extension like Javascript debugger(It's available on the vscode extension store ). You do need to check if it does the job for you or not. Sharing your main code here might also help in better understanding the problem.
If you are using node.js , this is a good fix for your problem Fatal JavaScript invalid size error 169220804
Otherwise, reinstalling vscode from scratch might be another good option for you if everything else fails.
CodePudding user response:
I found the solution. It was an error in my code in a for loop iteration :(. I fixed it and the console worked with no issues.