/
package.json
101 lines (101 loc) · 2.39 KB
/
package.json
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "ravi-debug",
"displayName": "Lua and Ravi 5.3 Debugger",
"version": "1.0.2",
"publisher": "ravilang",
"description": "Visual Studio Code debugger extension for Ravi and Lua 5.3",
"categories": [
"Debuggers"
],
"author": {
"name": "Dibyendu Majumdar"
},
"license": "MIT",
"private": true,
"scripts": {},
"engines": {
"vscode": "^1.42.0",
"node": "^4.1.1"
},
"repository": {
"type": "git",
"url": "https://github.com/dibyendumajumdar/ravi-vscode-debugger.git"
},
"bugs": {
"url": "https://github.com/dibyendumajumdar/ravi-vscode-debugger/issues"
},
"contributes": {
"breakpoints": [
{
"language": "lua"
}
],
"debuggers": [
{
"type": "lua",
"label": "Ravi Debugger",
"windows": {
"program": "./bin/ravidebug.exe"
},
"osx": {
"program": "./bin/osx/ravidebug"
},
"linux": {
"program": "./bin/linux/ravidebug"
},
"initialConfigurations": [
{
"name": "Ravi Debugger",
"type": "lua",
"request": "launch",
"program": "${workspaceRoot}/main.lua",
"stopOnEntry": true,
"cwd": "${workspaceRoot}",
"LUA_PATH": "${workspaceRoot}/?.lua",
"LUA_CPATH": "${workspaceRoot}/?.dll",
"args": []
}
],
"configurationAttributes": {
"launch": {
"required": [
"program"
],
"properties": {
"program": {
"type": "string",
"description": "Lua 5.3 or Ravi program to debug - set this to the path of the script",
"default": "main.lua"
},
"cwd": {
"type": "string",
"description": "Working directory at program startup",
"default": "${workspaceRoot}"
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically stop after launch.",
"default": true
},
"LUA_PATH": {
"type": "string",
"description": "Search path for Lua programs",
"default": "${workspaceRoot}/?.lua"
},
"LUA_CPATH": {
"type": "string",
"description": "Search path for native libraries; you may also need to set PATH before starting VS Code for library dependencies",
"default": "${workspaceRoot}/?.dll"
},
"args": {
"type": "array",
"description": "Command line arguments (maximum 10 args, each 256 chars max)",
"default": []
}
}
}
}
}
]
}
}