mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-18 15:02:09 +00:00
63 lines
1.9 KiB
JSON
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>/**"
|
|
]
|
|
}
|
|
]
|
|
} |