satoren / vscode-lrdb

Lua debugger for vscode

Home Page:https://github.com/satoren/LRDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

environment variable

darkstarx opened this issue · comments

How can I set LUA_PATH for launching program?
I want something like that:

{
	"type": "lrdb",
	"request": "launch",
	"useInternalLua": false,
	"name": "Run tests",
	"program": "${workspaceRoot}/bin/lua_run",
	"args": ["data/tests/main.lua"],
	"sourceRoot": "${workspaceRoot}",
	"cwd": "${workspaceRoot}",
	"env": {
		"LUA_PATH": "data/tests/?.lua;data/scripts/?.lua"
	}
}