summaryrefslogtreecommitdiff
path: root/.vscode/launch.json
blob: fa39fb7328e607acccfa9ac6a9514e4e6be916bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// A launch configuration that compiles the extension and then opens it inside a new window
{
	"version": "0.2.0",
	"configurations": [
		{
			"name": "测试",
			"type": "lua",
			"request": "launch",
			"stopOnEntry": false,
			"program": "${workspaceRoot}/server/test.lua",
			"arg": [
			],
			"consoleCoding": "utf8",
			"sourceCoding": "utf8",
			"luaRuntime": "5.4 64bit"
		},
		{
			"name": "附加",
			"type": "lua",
			"request": "attach",
			"stopOnEntry": true,
			"address": "127.0.0.1:11411",
		},
		{
			"name": "编译",
			"type": "lua",
			"request": "launch",
			"stopOnEntry": false,
			"program": "${workspaceRoot}/server/test/main.lua",
			"cwd": "${workspaceRoot}/server",
			"env": {
				"PATH": "${workspaceRoot}\\server\\bin\\"
			},
			"path": "${workspaceRoot}/server/bin/?.lua",
			"cpath": "${workspaceRoot}/server/bin/?.dll;",
			"arg": [
			],
			"consoleCoding": "utf8",
			"sourceCoding": "utf8",
			"preLaunchTask": "编译",
			"luaRuntime": "5.4 64bit"
		},
		{
			"name": "发布",
			"type": "lua",
			"request": "launch",
			"stopOnEntry": false,
			"program": "${workspaceRoot}/server/publish.lua",
			"arg": [
			],
			"consoleCoding": "utf8",
			"sourceCoding": "utf8",
			"luaRuntime": "5.4 64bit"
		},
		{
			"name": "测试-beta",
			"type": "lua",
			"request": "launch",
			"stopOnEntry": false,
			"program": "${workspaceRoot}/server-beta/test.lua",
			"arg": [
			],
			"consoleCoding": "utf8",
			"sourceCoding": "utf8",
			"luaRuntime": "5.4 64bit"
		},
	]
}