how to open console in vscode code example
Example: runnig console.log on vs code terminal
{
"version": "2.0.0",
"tasks": [
{
"label": "Show in console",
"type": "shell",
"osx": {
"command": "/usr/local/bin/node ${file}"
},
"linux": {
"command": "/usr/bin/node ${file}"
},
"windows": {
"command": "C:\\Program Files\\nodejs\\node.exe ${file}"
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
}