mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
debug: put user data dir in home dir, update versions of things (#189855)
This commit is contained in:
1
.vscode/launch.json
vendored
1
.vscode/launch.json
vendored
@@ -244,6 +244,7 @@
|
|||||||
"--disable-features=CalculateNativeWinOcclusion",
|
"--disable-features=CalculateNativeWinOcclusion",
|
||||||
"--disable-extension=vscode.vscode-api-tests"
|
"--disable-extension=vscode.vscode-api-tests"
|
||||||
],
|
],
|
||||||
|
"userDataDir": "${userHome}/.vscode-oss-dev",
|
||||||
"webRoot": "${workspaceFolder}",
|
"webRoot": "${workspaceFolder}",
|
||||||
"cascadeTerminateToConfigurations": [
|
"cascadeTerminateToConfigurations": [
|
||||||
"Attach to Extension Host"
|
"Attach to Extension Host"
|
||||||
|
|||||||
@@ -9,12 +9,12 @@ const majorNodeVersion = parseInt(nodeVersion[1]);
|
|||||||
const minorNodeVersion = parseInt(nodeVersion[2]);
|
const minorNodeVersion = parseInt(nodeVersion[2]);
|
||||||
const patchNodeVersion = parseInt(nodeVersion[3]);
|
const patchNodeVersion = parseInt(nodeVersion[3]);
|
||||||
|
|
||||||
if (majorNodeVersion < 16 || (majorNodeVersion === 16 && minorNodeVersion < 17)) {
|
if (majorNodeVersion < 18 || (majorNodeVersion === 18 && minorNodeVersion < 15)) {
|
||||||
console.error('\033[1;31m*** Please use node.js versions >=16.17.x and <17.\033[0;0m');
|
console.error('\033[1;31m*** Please use node.js versions >=18.15.x and <19.\033[0;0m');
|
||||||
err = true;
|
err = true;
|
||||||
}
|
}
|
||||||
if (majorNodeVersion >= 17) {
|
if (majorNodeVersion >= 19) {
|
||||||
console.warn('\033[1;31m*** Warning: Versions of node.js >= 17 have not been tested.\033[0;0m')
|
console.warn('\033[1;31m*** Warning: Versions of node.js >= 19 have not been tested.\033[0;0m')
|
||||||
}
|
}
|
||||||
|
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|||||||
Reference in New Issue
Block a user