SymphonyElectron/.vscode/launch.json
2021-03-23 15:53:49 +01:00

190 lines
6.2 KiB
JSON

{
"version": "0.2.0",
"configurations": [
{
"name": "Corp",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron",
"windows": {
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
},
"args": [".", "--url=https://corporate.symphony.com"],
"env": {
"ELECTRON_DEBUGGING": "true",
"ELECTRON_DEV": "true"
},
"outputCapture": "std",
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/lib/**/*.js"]
},
{
"name": "Corp (Build & Run)",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron",
"windows": {
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
},
"preLaunchTask": "build",
"args": [".", "--url=https://corporate.symphony.com"],
"env": {
"ELECTRON_DEBUGGING": "true",
"ELECTRON_DEV": "true"
},
"outputCapture": "std",
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/lib/**/*.js"]
},
{
"name": "Local Mana",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron",
"windows": {
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
},
"args": [".", "--url=https://local-dev.symphony.com:9090"],
"env": {
"ELECTRON_DEBUGGING": "true",
"ELECTRON_DEV": "true"
},
"outputCapture": "std",
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/lib/**/*.js"]
},
{
"name": "Local Mana (Build & Run)",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron",
"windows": {
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
},
"preLaunchTask": "build",
"args": [".", "--url=https://local-dev.symphony.com:9090"],
"env": {
"ELECTRON_DEBUGGING": "true",
"ELECTRON_DEV": "true"
},
"outputCapture": "std",
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/lib/**/*.js"]
},
{
"name": "st2",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron",
"windows": {
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
},
"args": [".", "--url=https://st2.symphony.com"],
"env": {
"ELECTRON_DEBUGGING": "true",
"ELECTRON_DEV": "true"
},
"outputCapture": "std",
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/lib/**/*.js"]
},
{
"name": "st2 (Build & Run)",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron",
"windows": {
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
},
"preLaunchTask": "build",
"args": [".", "--url=https://st2.symphony.com"],
"env": {
"ELECTRON_DEBUGGING": "true",
"ELECTRON_DEV": "true"
},
"outputCapture": "std",
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/lib/**/*.js"]
},
{
"name": "Demo",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron",
"windows": {
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
},
"args": [".", "--url=file://${workspaceFolder}/src/demo/index.html"],
"env": {
"ELECTRON_DEBUGGING": "true",
"ELECTRON_DEV": "true"
},
"outputCapture": "std",
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/lib/**/*.js"]
},
{
"name": "Demo (Build & Run)",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron",
"windows": {
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
},
"preLaunchTask": "build",
"args": [".", "--url=file://${workspaceFolder}/src/demo/index.html"],
"env": {
"ELECTRON_DEBUGGING": "true",
"ELECTRON_DEV": "true"
},
"outputCapture": "std",
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/lib/**/*.js"]
},
{
"name": "Dev",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron",
"windows": {
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
},
"args": ["."],
"env": {
"ELECTRON_DEBUGGING": "true",
"ELECTRON_DEV": "true"
},
"outputCapture": "std",
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/lib/**/*.js"]
},
{
"name": "Dev (Build & Run)",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron",
"windows": {
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
},
"args": ["."],
"env": {
"ELECTRON_DEBUGGING": "true",
"ELECTRON_DEV": "true"
},
"outputCapture": "std",
"sourceMaps": true,
"outFiles": ["${workspaceFolder}/lib/**/*.js"]
}
]
}