dataflow/.vscode/launch.json
2022-08-08 14:59:04 +08:00

86 lines
2.5 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": [
{
"type": "java",
"name": "Launch ProcessorServer",
"request": "launch",
"mainClass": "com.yuandian.dataflow.statemachine.grpc.ProcessorServer",
"projectName": "dataflow"
},
{
"type": "java",
"name": "Launch CounterClient",
"request": "launch",
"mainClass": "com.yuandian.dataflow.statemachine.client.CounterClient",
"projectName": "dataflow"
},
{
"type": "java",
"name": "Raft-0",
"request": "launch",
"mainClass": "com.yuandian.dataflow.statemachine.StateServer",
"projectName": "dataflow",
"console": "integratedTerminal",
"args": [
"0"
],
"presentation": {
"reveal": "always",
"plane": "new",
"hidden": false,
"group": "",
"order": 1
}
},
{
"type": "java",
"name": "Raft-1",
"request": "launch",
"mainClass": "com.yuandian.dataflow.statemachine.StateServer",
"projectName": "dataflow",
"console": "integratedTerminal",
"args": [
"1"
],
"presentation": {
"reveal": "always",
"plane": "new",
"hidden": false,
"group": "",
"order": 2
}
},
{
"type": "java",
"name": "Raft-2",
"request": "launch",
"mainClass": "com.yuandian.dataflow.statemachine.StateServer",
"projectName": "dataflow",
"console": "integratedTerminal",
"args": [
"2"
],
"presentation": {
"reveal": "always",
"plane": "new",
"hidden": false,
"group": "",
"order": 3
}
}
],
"compounds": [
{
"name": "Rafts-Server",
"configurations": ["Raft-0","Raft-1", "Raft-2"],
"preLaunchTask": "clear old data"
}
]
}