2020-10-08 18:21:27 +02:00
|
|
|
{
|
2021-07-08 08:38:00 +02:00
|
|
|
// Use IntelliSense to learn about possible attributes.
|
|
|
|
// Hover to view descriptions of existing attributes.
|
|
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"name": "Go: Launch Server",
|
|
|
|
"type": "go",
|
|
|
|
"request": "launch",
|
|
|
|
"mode": "debug",
|
2022-03-22 16:24:34 +02:00
|
|
|
"buildFlags": "-tags 'json1'",
|
2021-07-08 08:38:00 +02:00
|
|
|
"program": "${workspaceFolder}/server/main",
|
|
|
|
"cwd": "${workspaceFolder}"
|
|
|
|
},
|
2022-04-12 18:20:36 +02:00
|
|
|
{
|
|
|
|
"name": "Go: Launch Single-user Server",
|
|
|
|
"type": "go",
|
|
|
|
"request": "launch",
|
|
|
|
"mode": "debug",
|
|
|
|
"buildFlags": "-tags 'json1'",
|
|
|
|
"program": "${workspaceFolder}/server/main",
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"args": ["-single-user"],
|
|
|
|
"env": {
|
|
|
|
"FOCALBOARD_SINGLE_USER_TOKEN": "testtest"
|
|
|
|
}
|
|
|
|
},
|
2021-07-08 08:38:00 +02:00
|
|
|
{
|
|
|
|
"name": "Go: Launch Windows App",
|
|
|
|
"type": "go",
|
|
|
|
"request": "launch",
|
|
|
|
"mode": "debug",
|
|
|
|
"program": "${workspaceFolder}/win",
|
|
|
|
"cwd": "${workspaceFolder}/win/temp",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Go: Launch Linux App",
|
|
|
|
"type": "go",
|
|
|
|
"request": "launch",
|
|
|
|
"mode": "debug",
|
|
|
|
"program": "${workspaceFolder}/linux",
|
|
|
|
"cwd": "${workspaceFolder}/linux/dist/focalboard-app",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Go: Test Current File",
|
|
|
|
"type": "go",
|
|
|
|
"request": "launch",
|
|
|
|
"mode": "test",
|
|
|
|
"remotePath": "",
|
|
|
|
"port": 8888,
|
|
|
|
"host": "127.0.0.1",
|
|
|
|
"program": "${file}",
|
|
|
|
"env": {},
|
|
|
|
"args": [],
|
|
|
|
"showLog": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Attach by Process ID",
|
|
|
|
"processId": "${command:PickProcess}",
|
|
|
|
"request": "attach",
|
|
|
|
"skipFiles": [
|
|
|
|
"<node_internals>/**"
|
|
|
|
],
|
|
|
|
"type": "pwa-node"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Jest: run all tests",
|
|
|
|
"program": "${workspaceRoot}/webapp/node_modules/jest/bin/jest.js",
|
|
|
|
"cwd": "${workspaceRoot}/webapp",
|
|
|
|
"args": [
|
|
|
|
"--verbose",
|
|
|
|
],
|
|
|
|
"console": "integratedTerminal",
|
|
|
|
"internalConsoleOptions": "neverOpen"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Jest: run current file",
|
|
|
|
"program": "${workspaceRoot}/webapp/node_modules/jest/bin/jest.js",
|
|
|
|
"cwd": "${workspaceRoot}/webapp",
|
|
|
|
"args": [
|
|
|
|
"${fileBasename}",
|
|
|
|
"--verbose",
|
|
|
|
],
|
|
|
|
"console": "integratedTerminal",
|
|
|
|
"internalConsoleOptions": "neverOpen"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "pwa-chrome",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Launch Chrome",
|
|
|
|
"url": "http://localhost:8000",
|
|
|
|
"webRoot": "${workspaceFolder}/webapp"
|
|
|
|
}
|
|
|
|
]
|
2020-10-20 20:48:22 +02:00
|
|
|
}
|