Skip to content

Commit

Permalink
Add meta writer launch config
Browse files Browse the repository at this point in the history
  • Loading branch information
GDYendell committed Aug 19, 2024
1 parent 0a2509d commit 1c715c7
Showing 1 changed file with 61 additions and 0 deletions.
61 changes: 61 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,19 @@
"console": "integratedTerminal",
"args": ["--config", "${workspaceFolder}/deploy/odin_server.cfg", "--logging", "info"]
},
{
"name": "Meta Writer",
"type": "debugpy",
"request": "launch",
"module": "odin_data.meta_writer.meta_writer_app",
"justMyCode": false,
"console": "integratedTerminal",
"args": [
"--writer", "eiger_detector.EigerMetaWriter",
"--sensor-shape", "4362", "4148",
"--data-endpoints", "tcp://127.0.0.1:10008,tcp://127.0.0.1:10018,tcp://127.0.0.1:10028,tcp://127.0.0.1:10038"
]
},
{
"name": "Debug Unit Test",
"type": "debugpy",
Expand All @@ -28,5 +41,53 @@
"PYTEST_RAISE": "1",
},
},
{
"name": "Eiger Fan",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/vscode_build/bin/eigerfan",
"args": ["--addr", "127.0.0.1", "--consumers", "4", "--sockets", "4", "--blocksize", "1000", "--threads", "2"],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"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": "FrameProcessor",
"type": "cppdbg",
"request": "launch",
"program": "/odin/bin/frameProcessor",
"args": ["--ctrl", "tcp://0.0.0.0:10004", "--config", "${workspaceFolder}/deploy/fp1.json"],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [{"name": "HDF5_PLUGIN_PATH", "value": "/odin/h5plugin"}],
"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
}
]
},
],
}

0 comments on commit 1c715c7

Please sign in to comment.