mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
Add VS Code launch config for st2
This commit is contained in:
parent
e98934efbd
commit
65e3aba224
114
.vscode/launch.json
vendored
114
.vscode/launch.json
vendored
@ -10,19 +10,14 @@
|
|||||||
"windows": {
|
"windows": {
|
||||||
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
|
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
|
||||||
},
|
},
|
||||||
"args": [
|
"args": [".", "--url=https://corporate.symphony.com"],
|
||||||
".",
|
|
||||||
"--url=https://corporate.symphony.com"
|
|
||||||
],
|
|
||||||
"env": {
|
"env": {
|
||||||
"ELECTRON_DEBUGGING": "true",
|
"ELECTRON_DEBUGGING": "true",
|
||||||
"ELECTRON_DEV": "true"
|
"ELECTRON_DEV": "true"
|
||||||
},
|
},
|
||||||
"outputCapture": "std",
|
"outputCapture": "std",
|
||||||
"sourceMaps": true,
|
"sourceMaps": true,
|
||||||
"outFiles": [
|
"outFiles": ["${workspaceFolder}/lib/**/*.js"]
|
||||||
"${workspaceFolder}/lib/**/*.js"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Corp (Build & Run)",
|
"name": "Corp (Build & Run)",
|
||||||
@ -34,22 +29,17 @@
|
|||||||
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
|
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
|
||||||
},
|
},
|
||||||
"preLaunchTask": "build",
|
"preLaunchTask": "build",
|
||||||
"args": [
|
"args": [".", "--url=https://corporate.symphony.com"],
|
||||||
".",
|
|
||||||
"--url=https://corporate.symphony.com"
|
|
||||||
],
|
|
||||||
"env": {
|
"env": {
|
||||||
"ELECTRON_DEBUGGING": "true",
|
"ELECTRON_DEBUGGING": "true",
|
||||||
"ELECTRON_DEV": "true"
|
"ELECTRON_DEV": "true"
|
||||||
},
|
},
|
||||||
"outputCapture": "std",
|
"outputCapture": "std",
|
||||||
"sourceMaps": true,
|
"sourceMaps": true,
|
||||||
"outFiles": [
|
"outFiles": ["${workspaceFolder}/lib/**/*.js"]
|
||||||
"${workspaceFolder}/lib/**/*.js"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Mana",
|
"name": "Local Mana",
|
||||||
"type": "node",
|
"type": "node",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"cwd": "${workspaceFolder}",
|
"cwd": "${workspaceFolder}",
|
||||||
@ -57,22 +47,17 @@
|
|||||||
"windows": {
|
"windows": {
|
||||||
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
|
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
|
||||||
},
|
},
|
||||||
"args": [
|
"args": [".", "--url=https://local-dev.symphony.com:9090"],
|
||||||
".",
|
|
||||||
"--url=https://local-dev.symphony.com:9090"
|
|
||||||
],
|
|
||||||
"env": {
|
"env": {
|
||||||
"ELECTRON_DEBUGGING": "true",
|
"ELECTRON_DEBUGGING": "true",
|
||||||
"ELECTRON_DEV": "true"
|
"ELECTRON_DEV": "true"
|
||||||
},
|
},
|
||||||
"outputCapture": "std",
|
"outputCapture": "std",
|
||||||
"sourceMaps": true,
|
"sourceMaps": true,
|
||||||
"outFiles": [
|
"outFiles": ["${workspaceFolder}/lib/**/*.js"]
|
||||||
"${workspaceFolder}/lib/**/*.js"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Mana (Build & Run)",
|
"name": "Local Mana (Build & Run)",
|
||||||
"type": "node",
|
"type": "node",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"cwd": "${workspaceFolder}",
|
"cwd": "${workspaceFolder}",
|
||||||
@ -81,19 +66,51 @@
|
|||||||
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
|
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
|
||||||
},
|
},
|
||||||
"preLaunchTask": "build",
|
"preLaunchTask": "build",
|
||||||
"args": [
|
"args": [".", "--url=https://local-dev.symphony.com:9090"],
|
||||||
".",
|
|
||||||
"--url=https://local-dev.symphony.com:9090"
|
|
||||||
],
|
|
||||||
"env": {
|
"env": {
|
||||||
"ELECTRON_DEBUGGING": "true",
|
"ELECTRON_DEBUGGING": "true",
|
||||||
"ELECTRON_DEV": "true"
|
"ELECTRON_DEV": "true"
|
||||||
},
|
},
|
||||||
"outputCapture": "std",
|
"outputCapture": "std",
|
||||||
"sourceMaps": true,
|
"sourceMaps": true,
|
||||||
"outFiles": [
|
"outFiles": ["${workspaceFolder}/lib/**/*.js"]
|
||||||
"${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",
|
"name": "Demo",
|
||||||
@ -104,19 +121,14 @@
|
|||||||
"windows": {
|
"windows": {
|
||||||
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
|
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
|
||||||
},
|
},
|
||||||
"args": [
|
"args": [".", "--url=file://${workspaceFolder}/src/demo/index.html"],
|
||||||
".",
|
|
||||||
"--url=file://${workspaceFolder}/src/demo/index.html"
|
|
||||||
],
|
|
||||||
"env": {
|
"env": {
|
||||||
"ELECTRON_DEBUGGING": "true",
|
"ELECTRON_DEBUGGING": "true",
|
||||||
"ELECTRON_DEV": "true"
|
"ELECTRON_DEV": "true"
|
||||||
},
|
},
|
||||||
"outputCapture": "std",
|
"outputCapture": "std",
|
||||||
"sourceMaps": true,
|
"sourceMaps": true,
|
||||||
"outFiles": [
|
"outFiles": ["${workspaceFolder}/lib/**/*.js"]
|
||||||
"${workspaceFolder}/lib/**/*.js"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Demo (Build & Run)",
|
"name": "Demo (Build & Run)",
|
||||||
@ -128,19 +140,14 @@
|
|||||||
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
|
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
|
||||||
},
|
},
|
||||||
"preLaunchTask": "build",
|
"preLaunchTask": "build",
|
||||||
"args": [
|
"args": [".", "--url=file://${workspaceFolder}/src/demo/index.html"],
|
||||||
".",
|
|
||||||
"--url=file://${workspaceFolder}/src/demo/index.html"
|
|
||||||
],
|
|
||||||
"env": {
|
"env": {
|
||||||
"ELECTRON_DEBUGGING": "true",
|
"ELECTRON_DEBUGGING": "true",
|
||||||
"ELECTRON_DEV": "true"
|
"ELECTRON_DEV": "true"
|
||||||
},
|
},
|
||||||
"outputCapture": "std",
|
"outputCapture": "std",
|
||||||
"sourceMaps": true,
|
"sourceMaps": true,
|
||||||
"outFiles": [
|
"outFiles": ["${workspaceFolder}/lib/**/*.js"]
|
||||||
"${workspaceFolder}/lib/**/*.js"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Dev",
|
"name": "Dev",
|
||||||
@ -151,18 +158,14 @@
|
|||||||
"windows": {
|
"windows": {
|
||||||
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
|
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
|
||||||
},
|
},
|
||||||
"args": [
|
"args": ["."],
|
||||||
"."
|
|
||||||
],
|
|
||||||
"env": {
|
"env": {
|
||||||
"ELECTRON_DEBUGGING": "true",
|
"ELECTRON_DEBUGGING": "true",
|
||||||
"ELECTRON_DEV": "true"
|
"ELECTRON_DEV": "true"
|
||||||
},
|
},
|
||||||
"outputCapture": "std",
|
"outputCapture": "std",
|
||||||
"sourceMaps": true,
|
"sourceMaps": true,
|
||||||
"outFiles": [
|
"outFiles": ["${workspaceFolder}/lib/**/*.js"]
|
||||||
"${workspaceFolder}/lib/**/*.js"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Dev (Build & Run)",
|
"name": "Dev (Build & Run)",
|
||||||
@ -173,19 +176,14 @@
|
|||||||
"windows": {
|
"windows": {
|
||||||
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
|
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
|
||||||
},
|
},
|
||||||
"args": [
|
"args": ["."],
|
||||||
"."
|
|
||||||
],
|
|
||||||
"env": {
|
"env": {
|
||||||
"ELECTRON_DEBUGGING": "true",
|
"ELECTRON_DEBUGGING": "true",
|
||||||
"ELECTRON_DEV": "true"
|
"ELECTRON_DEV": "true"
|
||||||
},
|
},
|
||||||
"outputCapture": "std",
|
"outputCapture": "std",
|
||||||
"sourceMaps": true,
|
"sourceMaps": true,
|
||||||
"outFiles": [
|
"outFiles": ["${workspaceFolder}/lib/**/*.js"]
|
||||||
"${workspaceFolder}/lib/**/*.js"
|
}
|
||||||
]
|
|
||||||
},
|
|
||||||
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user