From f22842782d1554c91e8df883a66e25c438cf1da5 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 3 Jul 2020 17:30:15 +0900 Subject: [PATCH] feat: add cwd and env variables support --- package.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/package.json b/package.json index 538fda8..6979847 100644 --- a/package.json +++ b/package.json @@ -97,6 +97,22 @@ "description": "The JVM arguments if needed by your project (usually -Dfoo=bar).", "default": "" }, + "cwd": { + "type": "string", + "description": "The current working directory. Default to the project root.", + "default": "${workspaceFolder}" + }, + "envs": { + "type": "object", + "additionalProperties": { + "type": [ + "string", + "null" + ] + }, + "description": "Environment variables in key/value format. (usually { \"FOO\": \"BAR\"})", + "default": {} + }, "enableJsonLogging": { "type": "boolean", "description": "Enables logging of debug server JSON messages into a file defined by 'jsonLogFile'.",