ShadowEditor/.vscode/launch.json
2020-07-12 09:15:19 +08:00

63 lines
1.9 KiB
JSON

{
// 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": "Launch Server",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/server/main.go",
"env": {},
"cwd": "${workspaceFolder}/build",
"args": [
"serve",
"--config",
"${workspaceFolder}/server/config-dev.toml"
]
},
{
"name": "Launch File",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${file}"
},
{
"name": "Launch Package",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${fileDirname}"
},
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal"
},
{
"name": "Node: Current File",
"type": "node",
"request": "launch",
"program": "${file}"
},
{
"name": "Electron Main",
"type": "pwa-node",
"request": "launch",
"cwd": "${workspaceFolder}/build/desktop/ShadowEditor-win32-x64/resources/app",
"program": "${workspaceFolder}/utils/electron/main.js",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
"windows": {
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
},
"skipFiles": [
"<node_internals>/**"
]
}
]
}