whenever i hit run in visual studio code it opens another window

it’s been a a couple days of trying but I’m just too new to understand.
the same happens when i hit start debugging.
This is what im running just a very simple code to get started
enter image description here
enter image description here

console.log("-----------");
console.log("Hello world");
console.log("rise and shine!");
console.log("ready for a new day");
console.log("-----------");

i tried redownloading, rebooting, tutorials