I'm trying to learn how to create a vscode extension
theres a function that im printing some text to console, however each time the function is called, it creates a new output channel:
const channel = vscode.window.createOutputChannel("debug");
channel.show();
console.log("test");
how i could avoid it? I mean, create the channel only once.