500 lines
13 KiB
JSON
500 lines
13 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Python Debugger: Current File with Arguments",
|
|
"type": "debugpy",
|
|
"request": "launch",
|
|
"program": "${file}",
|
|
"console": "integratedTerminal",
|
|
"args": "${command:pickArgs}"
|
|
},
|
|
{
|
|
"name": ".NET Core Attach",
|
|
"type": "coreclr",
|
|
"request": "attach"
|
|
},
|
|
{
|
|
"name": "Api Server",
|
|
"type": "coreclr",
|
|
"request": "launch",
|
|
"program": "",
|
|
"preLaunchTask": "Build Api Server (Debug)",
|
|
"windows": {
|
|
"program": "spark_api_server.exe",
|
|
},
|
|
"linux": {
|
|
"program": "spark_api_server",
|
|
},
|
|
"args": [
|
|
"run",
|
|
],
|
|
"cwd": "build/Debug/bin/net8.0",
|
|
"env": {
|
|
"DOTNET_ENVIRONMENT": "${input:apiServerEnvironment}",
|
|
},
|
|
"stopAtEntry": false,
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
"name": "Api Server (Skip Build)",
|
|
"type": "coreclr",
|
|
"request": "launch",
|
|
"program": "",
|
|
"windows": {
|
|
"program": "spark_api_server.exe",
|
|
},
|
|
"linux": {
|
|
"program": "spark_api_server",
|
|
},
|
|
"args": [
|
|
"run",
|
|
],
|
|
"cwd": "build/Debug/bin/net8.0",
|
|
"env": {
|
|
"DOTNET_ENVIRONMENT": "${input:apiServerEnvironment}",
|
|
},
|
|
"stopAtEntry": false,
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
"name": "DataStreamPublisher",
|
|
"type": "coreclr",
|
|
"request": "launch",
|
|
"preLaunchTask": "Build DataStream (Debug)",
|
|
"program": "",
|
|
"linux": {
|
|
"program": "DataStreamPublisher",
|
|
},
|
|
"windows": {
|
|
"program": "DataStreamPublisher.exe",
|
|
},
|
|
"cwd": "build/Debug/bin/net8.0",
|
|
"env": {
|
|
"DOTNET_ENVIRONMENT": "${input:dataStreamPublisherEnvironment}",
|
|
},
|
|
"stopAtEntry": false,
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
"name": "DataStreamPublisher (Skip Build)",
|
|
"type": "coreclr",
|
|
"request": "launch",
|
|
"program": "",
|
|
"linux": {
|
|
"program": "DataStreamPublisher",
|
|
},
|
|
"windows": {
|
|
"program": "DataStreamPublisher.exe",
|
|
},
|
|
"cwd": "${workspaceFolder}/build/Debug/bin/net8.0",
|
|
"env": {
|
|
"DOTNET_ENVIRONMENT": "${input:dataStreamPublisherEnvironment}",
|
|
},
|
|
"stopAtEntry": false,
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
"name": "(gdb) Launch",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "/home/bts/spark/build/sparkd-debug-clang/server/sparkd",
|
|
"args": [
|
|
"run"
|
|
],
|
|
"stopAtEntry": false,
|
|
"cwd": "/home/bts/spark/build/sparkd-debug-clang/server",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
},
|
|
{
|
|
"name": "spreader tests2",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "/home/bts/spark/build/sparkd-debug-clang/server/sparkd",
|
|
"args": [
|
|
"test",
|
|
"[spreader2]"
|
|
],
|
|
"stopAtEntry": false,
|
|
"cwd": "/home/bts/spark/build/sparkd-debug-clang/server",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
},
|
|
{
|
|
"name": "spreader tests",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "/home/bts/spark/build/sparkd-debug-clang/server/sparkd",
|
|
"args": [
|
|
"test",
|
|
"[spreader]"
|
|
],
|
|
"stopAtEntry": false,
|
|
"cwd": "/home/bts/spark/build/sparkd-debug-clang/server",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
},
|
|
{
|
|
"name": "DataStreamQueryAnalyzer",
|
|
"type": "coreclr",
|
|
"request": "launch",
|
|
"preLaunchTask": "Build DataStream (Debug)",
|
|
"program": "",
|
|
"windows": {
|
|
"program": "DataStreamQueryAnalyzer.exe",
|
|
"cwd": "build/Debug/bin/net8.0-windows",
|
|
"env": {
|
|
"PYTHON_EXE": "${workspaceFolder}/.venv/Scripts/python.exe",
|
|
"DOTNET_ENVIRONMENT": "${input:dataStreamQueryAnalyzerEnvironment}",
|
|
},
|
|
},
|
|
"stopAtEntry": false,
|
|
"console": "integratedTerminal",
|
|
},
|
|
{
|
|
"name": "DataStreamQueryAnalyzer (Skip Build)",
|
|
"type": "coreclr",
|
|
"request": "launch",
|
|
"program": "",
|
|
"windows": {
|
|
"program": "DataStreamQueryAnalyzer.exe",
|
|
"cwd": "build/Debug/bin/net8.0-windows",
|
|
"env": {
|
|
"PYTHON_EXE": "${workspaceFolder}/.venv/Scripts/python.exe",
|
|
"DOTNET_ENVIRONMENT": "${input:dataStreamQueryAnalyzerEnvironment}",
|
|
},
|
|
},
|
|
"stopAtEntry": false,
|
|
"console": "integratedTerminal",
|
|
},
|
|
{
|
|
"name": "PubSubServer",
|
|
"type": "coreclr",
|
|
"request": "launch",
|
|
"preLaunchTask": "Build DataStream (Debug)",
|
|
"program": "",
|
|
"linux": {
|
|
"program": "PubSubServer",
|
|
},
|
|
"windows": {
|
|
"program": "PubSubServer.exe",
|
|
},
|
|
"cwd": "build/Debug/bin/net8.0",
|
|
"env": {
|
|
"DOTNET_ENVIRONMENT": "${input:pubSubServerEnvironment}",
|
|
},
|
|
"stopAtEntry": false,
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
"name": "PubSubServer (Skip Build)",
|
|
"type": "coreclr",
|
|
"request": "launch",
|
|
"program": "",
|
|
"linux": {
|
|
"program": "PubSubServer",
|
|
},
|
|
"windows": {
|
|
"program": "PubSubServer.exe",
|
|
},
|
|
"cwd": "build/Debug/bin/net8.0",
|
|
"env": {
|
|
"DOTNET_ENVIRONMENT": "${input:pubSubServerEnvironment}",
|
|
},
|
|
"stopAtEntry": false,
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
"name": "Sdk Demo",
|
|
"type": "coreclr",
|
|
"request": "launch",
|
|
"program": "",
|
|
"preLaunchTask": "Build Spark Sdk (Debug)",
|
|
"windows": {
|
|
"program": "Bts.Spark.Sdk.Demo.exe",
|
|
},
|
|
"linux": {
|
|
"program": "Bts.Spark.Sdk.Demo",
|
|
},
|
|
"cwd": "build/Debug/bin/net8.0",
|
|
"env": {
|
|
"DOTNET_ENVIRONMENT": "${input:sdkDemoEnvironment}",
|
|
},
|
|
"stopAtEntry": false,
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
"name": "Sdk Demo (Skip Build)",
|
|
"type": "coreclr",
|
|
"request": "launch",
|
|
"program": "",
|
|
"windows": {
|
|
"program": "Bts.Spark.Sdk.Demo.exe",
|
|
},
|
|
"linux": {
|
|
"program": "Bts.Spark.Sdk.Demo.exe",
|
|
},
|
|
"cwd": "build/Debug/bin/net8.0",
|
|
"env": {
|
|
"DOTNET_ENVIRONMENT": "${input:sdkDemoEnvironment}",
|
|
},
|
|
"stopAtEntry": false,
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
"name": "Spark",
|
|
"type": "coreclr",
|
|
"request": "launch",
|
|
"program": "",
|
|
"windows": {
|
|
"preLaunchTask": "Build Spark (Debug)",
|
|
"program": "Spark.exe",
|
|
"cwd": "build/Debug/bin/net8.0-windows",
|
|
"env": {
|
|
"DOTNET_ENVIRONMENT": "${input:sparkEnvironment}",
|
|
}
|
|
},
|
|
"stopAtEntry": false,
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
"name": "Spark (Skip Build)",
|
|
"type": "coreclr",
|
|
"request": "launch",
|
|
"program": "",
|
|
"windows": {
|
|
"program": "Spark.exe",
|
|
"cwd": "build/Debug/bin/net8.0-windows",
|
|
"env": {
|
|
"DOTNET_ENVIRONMENT": "${input:sparkEnvironment}",
|
|
}
|
|
},
|
|
"stopAtEntry": false,
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
"name": "Spark (Parameterized)",
|
|
"type": "coreclr",
|
|
"request": "launch",
|
|
"preLaunchTask": "Build Spark (Debug)",
|
|
"program": "",
|
|
"windows": {
|
|
"program": "Spark.exe",
|
|
"args": [
|
|
"--Spark:ConfigServer",
|
|
"${input:sparkConfigServer}"
|
|
],
|
|
"cwd": "build/Debug/bin/net8.0-windows",
|
|
},
|
|
"stopAtEntry": false,
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
"name": "Spark Test",
|
|
"type": "coreclr",
|
|
"request": "launch",
|
|
"program": "",
|
|
"windows": {
|
|
"preLaunchTask": "Build Spark (Debug)",
|
|
"program": "Spark.Console.exe",
|
|
"cwd": "build/Debug/bin/net8.0",
|
|
"args": [
|
|
"test",
|
|
"${input:sparkTest}"
|
|
]
|
|
},
|
|
"stopAtEntry": false,
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
"name": "Spark Test (Skip Build)",
|
|
"type": "coreclr",
|
|
"request": "launch",
|
|
"program": "",
|
|
"windows": {
|
|
"program": "Spark.Console.exe",
|
|
"cwd": "build/Debug/bin/net8.0",
|
|
"args": [
|
|
"test",
|
|
"${input:sparkTest}"
|
|
]
|
|
},
|
|
"stopAtEntry": false,
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
"name": "Sparkd",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "",
|
|
"linux": {
|
|
"program": "${workspaceFolder}/build/sparkd-debug-clang/src/app_sparkd/sparkd",
|
|
"preLaunchTask": "Build Sparkd (Debug | Clang)",
|
|
},
|
|
"args": [
|
|
"run"
|
|
],
|
|
"cwd": "${workspaceFolder}/build/sparkd-debug-clang/src/app_sparkd",
|
|
"stopAtEntry": false,
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
},
|
|
{
|
|
"description": "Set Disassembly Flavor to Intel",
|
|
"text": "-gdb-set disassembly-flavor intel",
|
|
"ignoreFailures": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Sparkd (Skip Build)",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "",
|
|
"linux": {
|
|
"program": "${workspaceFolder}/build/sparkd-debug-clang/src/app_sparkd/sparkd",
|
|
},
|
|
"args": [
|
|
"run"
|
|
],
|
|
"cwd": "${workspaceFolder}/build/sparkd-debug-clang/src/app_sparkd",
|
|
"stopAtEntry": false,
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
},
|
|
{
|
|
"description": "Set Disassembly Flavor to Intel",
|
|
"text": "-gdb-set disassembly-flavor intel",
|
|
"ignoreFailures": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Sparkd Attach",
|
|
"type": "cppdbg",
|
|
"request": "attach",
|
|
"program": "${workspaceFolder}/build/sparkd-debug-clang/src/app_sparkd/sparkd",
|
|
"MIMode": "gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
},
|
|
{
|
|
"description": "Set Disassembly Flavor to Intel",
|
|
"text": "-gdb-set disassembly-flavor intel",
|
|
"ignoreFailures": true
|
|
}
|
|
]
|
|
},
|
|
],
|
|
"inputs": [
|
|
{
|
|
"id": "apiServerEnvironment",
|
|
"type": "pickString",
|
|
"description": "Api Server Configuration",
|
|
"options": [
|
|
"Development",
|
|
"Local",
|
|
"Staging",
|
|
],
|
|
"default": "Development",
|
|
},
|
|
{
|
|
"id": "dataStreamPublisherConfig",
|
|
"type": "pickString",
|
|
"description": "Publisher Configuration",
|
|
"options": [
|
|
"MarketDataPublisher",
|
|
"SimpleEchoClient",
|
|
"SimpleTestDataPublisher",
|
|
"TestDataPublisher",
|
|
],
|
|
"default": "MarketDataPublisher",
|
|
},
|
|
{
|
|
"id": "dataStreamQueryAnalyzerEnvironment",
|
|
"type": "pickString",
|
|
"description": "DataStreamQueryAnalyzer Configuration",
|
|
"options": [
|
|
"Development",
|
|
"Local",
|
|
],
|
|
"default": "Development",
|
|
},
|
|
{
|
|
"id": "dataStreamPublisherEnvironment",
|
|
"type": "pickString",
|
|
"description": "DataStreamPublisher Configuration",
|
|
"options": [
|
|
"Local",
|
|
"ReplayMarketData",
|
|
],
|
|
"default": "Local",
|
|
},
|
|
{
|
|
"id": "pubSubServerEnvironment",
|
|
"type": "pickString",
|
|
"description": "PubSubServer Configuration",
|
|
"options": [
|
|
"Development",
|
|
"EchoServer",
|
|
"Local",
|
|
],
|
|
"default": "Development",
|
|
},
|
|
{
|
|
"id": "sdkDemoEnvironment",
|
|
"type": "pickString",
|
|
"description": "Sdk Demo Configuration",
|
|
"options": [
|
|
"Development",
|
|
"Local",
|
|
"Staging",
|
|
],
|
|
"default": "Development",
|
|
},
|
|
{
|
|
"id": "sparkConfigServer",
|
|
"type": "promptString",
|
|
"description": "Config Server URL",
|
|
"default": "http://localhost:8000/config",
|
|
},
|
|
{
|
|
"id": "sparkEnvironment",
|
|
"type": "pickString",
|
|
"description": "Spark Configuration",
|
|
"options": [
|
|
"Development",
|
|
"Local",
|
|
],
|
|
"default": "Development",
|
|
},
|
|
{
|
|
"id": "sparkTest",
|
|
"type": "promptString",
|
|
"description": "Test to run",
|
|
},
|
|
{
|
|
"id": "sparkdTest",
|
|
"type": "promptString",
|
|
"description": "Test to run",
|
|
},
|
|
]
|
|
}
|