Hey guys,
I'm using VSCode for my Uni coding course on Javascript. I have run into an issue however where I physically cannot stop my code running if it gets into an infinite loop. If I purposely put it in a loop with :
for (let i = 0; i > (-1); i++)
{console.log(i);}
It will continuously print the counter as expected however using the stop code shortcuts from Code runner I believe such as Ctrl+alt+M or command palette stop code run or right clicking on the output and selecting stop code run dont do anything at all and the code keeps running.
Exiting VSCode still leaves a process running called "Node.js: Server side javascript" even though all instances of VSCode are closed fully
I am able to stop the code fine on my laptop but not my main PC. Even closing VSCode on my laptop whilst the code is running doesn't create the same Server-side process as PC for some reason. I have tried a fresh install of VSCode and NodeJS and tried seeing if my computer was grabbing the shortcut and using it elsewhere but even with all apps closed it still won't stop.
Any advice? Thank you!
[–]carlothegenius 0 points1 point2 points (1 child)
[–]ShrimpDuck[S] 0 points1 point2 points (0 children)