summary refs log tree commit diff
path: root/fosscord-server.code-workspace
blob: 8b7268a5d8c7d0c1395830936e336b37c11cbd88 (plain) (blame)
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
{
	"folders": [
		{
			"path": "src/"
		},
		{
			"path": "assets/"
		},
		{
			"path": "scripts/"
		},
		{
			"path": "."
		}
	],
	"settings": {
		"files.exclude": {
			"*.ansi": true,
			"**/cache": true,
			"**/cache_src": true
		}
	},
	"launch": {
		"version": "0.2.0",
		"configurations": [
			{
				"command": "npm run start:bundle:vscode-dbg",
				"name": "Run Fosscord with debugger",
				"request": "launch",
				"type": "node-terminal"
			},
			{
				"command": "[ \"$(basename $PWD)\" != \"fosscord-server\" ] && cd ..; node scripts/build_new.js && kitty node --enable-source-maps --inspect dist/start.js",
				"name": "Run Fosscord with debugger (kitty)",
				"request": "launch",
				"type": "node-terminal"
			},
			{
				"command": "[ \"$(basename $PWD)\" != \"fosscord-server\" ] && cd ..; $(ps -o comm= $PPID) assets/cache",
				"name": "Open testclient patch workspace",
				"request": "launch",
				"type": "node-terminal"
			}
		]
	}
}