launch.json
1 { 2 // Use IntelliSense to learn about possible attributes. 3 // Hover to view descriptions of existing attributes. 4 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 "version": "0.2.0", 6 "configurations": [ 7 { 8 "name": "SAM", 9 "type": "debugpy", 10 "request": "launch", 11 "module": "cli.main", 12 "python": "${workspaceFolder}/.venv/bin/python", 13 "console": "integratedTerminal", 14 "args": "run examples/agents/orchestrator_example.yaml examples/agents/a2a_agents_example.yaml examples/gateways/webui_gateway_example.yaml examples/services/platform_service_example.yaml", 15 "justMyCode": false, 16 "env": { 17 "LOGGING_CONFIG_PATH": "${workspaceFolder}/preset/logging_config.yaml" 18 } 19 }, 20 { 21 "name": "SAM (Agents Only)", 22 "type": "debugpy", 23 "request": "launch", 24 "module": "cli.main", 25 "console": "integratedTerminal", 26 "args": "run examples/agents/orchestrator_example.yaml examples/agents/a2a_agents_example.yaml examples/agents/a2a_multimodal_example.yaml", 27 "justMyCode": false, 28 "env": { 29 "LOGGING_CONFIG_PATH": "${workspaceFolder}/preset/logging_config.yaml" 30 } 31 }, 32 { 33 "name": "SAM (test)", 34 "type": "debugpy", 35 "request": "launch", 36 "module": "cli.main", 37 "console": "integratedTerminal", 38 "args": "run examples/agents/orchestrator_example.yaml examples/agents/a2a_agents_example.yaml examples/gateways/webui_gateway_example.yaml examples/agents/test_agent_example.yaml examples/agents/a2a_multimodal_example.yaml", 39 "justMyCode": false, 40 "env": { 41 "LOGGING_CONFIG_PATH": "${workspaceFolder}/preset/logging_config.yaml" 42 } 43 }, 44 { 45 "name": "SAM (workflow)", 46 "type": "debugpy", 47 "request": "launch", 48 "module": "solace_ai_connector.main", 49 "console": "integratedTerminal", 50 "args": "--envfile .env examples/agents/orchestrator_example.yaml examples/agents/test_agent_example.yaml examples/workflows/jira_bug_triage_workflow.yaml examples/gateways/webui_gateway_example.yaml", 51 "justMyCode": false, 52 "env": { 53 "LOGGING_CONFIG_PATH": "${workspaceFolder}/preset/logging_config.yaml" 54 } 55 }, 56 { 57 "name": "SAM (new node types)", 58 "type": "debugpy", 59 "request": "launch", 60 "module": "solace_ai_connector.main", 61 "console": "integratedTerminal", 62 "args": "--envfile .env examples/agents/orchestrator_example.yaml examples/gateways/webui_gateway_example.yaml examples/workflows/all_node_types_workflow.yaml examples/workflows/complex_branching_workflow.yaml examples/workflows/workflow_to_workflow_example.yaml examples/workflows/simple_nested_test.yaml", 63 "justMyCode": false, 64 "env": { 65 "LOGGING_CONFIG_PATH": "${workspaceFolder}/preset/logging_config.yaml" 66 } 67 }, 68 { 69 "name": "SAM (preset)", 70 "type": "debugpy", 71 "request": "launch", 72 "module": "cli.main", 73 "console": "integratedTerminal", 74 "args": "run preset/agents/basic/main_orchestrator.yaml preset/agents/basic/webui.yaml preset/agents/markitdown_agents.yaml preset/agents/mermaid_agents.yaml preset/agents/web_agents.yaml", 75 "justMyCode": false, 76 "env": { 77 "LOGGING_CONFIG_PATH": "${workspaceFolder}/preset/logging_config.yaml" 78 } 79 }, 80 { 81 "name": "SAM (MCP gateway)", 82 "type": "debugpy", 83 "request": "launch", 84 "module": "cli.main", 85 "console": "integratedTerminal", 86 "args": "run examples/gateways/mcp_gateway_example.yaml examples/agents/orchestrator_example.yaml examples/agents/a2a_agents_example.yaml examples/gateways/webui_gateway_example.yaml examples/agents/test_agent_example.yaml examples/agents/a2a_multimodal_example.yaml", 87 "justMyCode": false, 88 "env": { 89 "LOGGING_CONFIG_PATH": "${workspaceFolder}/preset/logging_config.yaml" 90 } 91 }, 92 { 93 "name": "SAM (a2a-proxy)", 94 "type": "debugpy", 95 "request": "launch", 96 "module": "cli.main", 97 "console": "integratedTerminal", 98 "args": "run examples/agents/orchestrator_example.yaml examples/gateways/webui_gateway_example.yaml examples/agents/test_agent_example.yaml examples/a2a_proxy_example.yaml", 99 "justMyCode": false, 100 "env": { 101 "LOGGING_CONFIG_PATH": "${workspaceFolder}/preset/logging_config.yaml" 102 } 103 }, 104 { 105 "name": "SAM (test with Slack)", 106 "type": "debugpy", 107 "request": "launch", 108 "module": "cli.main", 109 "console": "integratedTerminal", 110 "args": "run examples/gateways/slack_gateway_example.yaml examples/agents/orchestrator_example.yaml examples/agents/a2a_agents_example.yaml examples/gateways/webui_gateway_example.yaml examples/agents/test_agent_example.yaml examples/agents/a2a_multimodal_example.yaml", 111 "justMyCode": false, 112 }, 113 { 114 "name": "SAM (simple)", 115 "type": "debugpy", 116 "request": "launch", 117 "module": "cli.main", 118 "console": "integratedTerminal", 119 "args": "run examples/agents/orchestrator_example.yaml examples/gateways/webui_gateway_example.yaml examples/agents/test_agent_example.yaml examples/services/platform_service_example.yaml", 120 "justMyCode": false, 121 "env": { 122 "LOGGING_CONFIG_PATH": "${workspaceFolder}/preset/logging_config.yaml" 123 } 124 }, 125 { 126 "name": "SAM (with REST)", 127 "type": "debugpy", 128 "request": "launch", 129 "module": "cli.main", 130 "console": "integratedTerminal", 131 "args": "run examples/agents/orchestrator_example.yaml examples/agents/a2a_agents_example.yaml examples/gateways/webui_gateway_example.yaml examples/gateways/rest_gateway_example.yaml examples/agents/test_agent_example.yaml examples/agents/a2a_multimodal_example.yaml", 132 "justMyCode": false, 133 "env": { 134 "LOGGING_CONFIG_PATH": "${workspaceFolder}/preset/logging_config.yaml" 135 } 136 }, 137 { 138 "name": "Multimodal Agent (With UI)", 139 "type": "debugpy", 140 "request": "launch", 141 "module": "cli.main", 142 "console": "integratedTerminal", 143 "args": "run examples/agents/a2a_multimodal_example.yaml examples/gateways/webui_gateway_example.yaml ", 144 "justMyCode": false, 145 "env": { 146 "LOGGING_CONFIG_PATH": "${workspaceFolder}/preset/logging_config.yaml" 147 } 148 }, 149 { 150 "name": "Orchestrator", 151 "type": "debugpy", 152 "request": "launch", 153 "module": "cli.main", 154 "console": "integratedTerminal", 155 "args": "run examples/agents/orchestrator_example.yaml", 156 "justMyCode": false, 157 "env": { 158 "LOGGING_CONFIG_PATH": "${workspaceFolder}/preset/logging_config.yaml" 159 } 160 }, 161 { 162 "name": "Agents", 163 "type": "debugpy", 164 "request": "launch", 165 "module": "cli.main", 166 "console": "integratedTerminal", 167 "args": "run examples/agents/a2a_agents_example.yaml", 168 "justMyCode": false, 169 "env": { 170 "LOGGING_CONFIG_PATH": "${workspaceFolder}/preset/logging_config.yaml" 171 } 172 }, 173 { 174 "name": "MCP examples", 175 "type": "debugpy", 176 "request": "launch", 177 "module": "cli.main", 178 "console": "integratedTerminal", 179 "args": "run examples/agents/a2a_mcp_example.yaml", 180 "justMyCode": false, 181 "env": { 182 "LOGGING_CONFIG_PATH": "${workspaceFolder}/preset/logging_config.yaml" 183 } 184 }, 185 { 186 "name": "Slack", 187 "type": "debugpy", 188 "request": "launch", 189 "module": "cli.main", 190 "console": "integratedTerminal", 191 "args": "run examples/gateways/slack_gateway_example.yaml", 192 "justMyCode": false, 193 "env": { 194 "LOGGING_CONFIG_PATH": "${workspaceFolder}/preset/logging_config.yaml" 195 } 196 }, 197 { 198 "name": "Webhook Gateway", 199 "type": "debugpy", 200 "request": "launch", 201 "module": "cli.main", 202 "console": "integratedTerminal", 203 "args": "run examples/gateways/webhook_gateway_example.yaml", 204 "justMyCode": false, 205 "env": { 206 "LOGGING_CONFIG_PATH": "${workspaceFolder}/preset/logging_config.yaml" 207 } 208 }, 209 { 210 "name": "WebUI", 211 "type": "debugpy", 212 "request": "launch", 213 "module": "cli.main", 214 "console": "integratedTerminal", 215 "args": "run examples/gateways/webui_gateway_example.yaml", 216 "justMyCode": false, 217 "env": { 218 "LOGGING_CONFIG_PATH": "${workspaceFolder}/preset/logging_config.yaml" 219 } 220 }, 221 { 222 "name": "Minimal", 223 "type": "debugpy", 224 "request": "launch", 225 "module": "cli.main", 226 "console": "integratedTerminal", 227 "args": "run examples/agents/orchestrator_example.yaml examples/gateways/webui_gateway_example.yaml", 228 "justMyCode": false, 229 "env": { 230 "LOGGING_CONFIG_PATH": "${workspaceFolder}/preset/logging_config.yaml" 231 } 232 }, 233 { 234 "name": "Playwrite", 235 "type": "debugpy", 236 "request": "launch", 237 "module": "cli.main", 238 "console": "integratedTerminal", 239 "args": "run examples/agents/a2a_mcp_example.yaml examples/gateways/webui_gateway_example.yaml", 240 "justMyCode": false, 241 "env": { 242 "LOGGING_CONFIG_PATH": "${workspaceFolder}/preset/logging_config.yaml" 243 } 244 }, 245 { 246 "name": "EM Gateway", 247 "type": "debugpy", 248 "request": "launch", 249 "module": "cli.main", 250 "console": "integratedTerminal", 251 "args": "run examples/gateways/event_mesh_gateway_example.yaml examples/agents/a2a_multimodal_example.yaml examples/agents/orchestrator_example.yaml examples/gateways/webui_gateway_example.yaml", 252 "justMyCode": false, 253 "env": { 254 "LOGGING_CONFIG_PATH": "${workspaceFolder}/preset/logging_config.yaml" 255 } 256 }, 257 { 258 "name": "EM Gateway + Workflow", 259 "type": "debugpy", 260 "request": "launch", 261 "module": "cli.main", 262 "console": "integratedTerminal", 263 "args": "run examples/gateways/event_mesh_gateway_example.yaml examples/gateways/test_gateway_workflow.yaml examples/workflows/all_node_types_workflow.yaml examples/workflows/simple_nested_test.yaml examples/agents/orchestrator_example.yaml examples/gateways/webui_gateway_example.yaml", 264 "justMyCode": false, 265 "env": { 266 "LOGGING_CONFIG_PATH": "${workspaceFolder}/preset/logging_config.yaml" 267 } 268 }, 269 { 270 "name": "CLI", 271 "type": "debugpy", 272 "request": "launch", 273 "module": "src.tools.a2a_cli_client.main", 274 "console": "integratedTerminal", 275 "args": "--env-file .env", 276 "justMyCode": false, 277 "env": { 278 "LOGGING_CONFIG_PATH": "${workspaceFolder}/preset/logging_config.yaml" 279 } 280 }, 281 { 282 "name": "Python: Debug Tests", 283 "type": "debugpy", 284 "request": "launch", 285 "program": "${file}", 286 "purpose": [ 287 "debug-test" 288 ], 289 "console": "integratedTerminal", 290 "justMyCode": false 291 }, 292 { 293 "name": "Python: Pytest (specific test)", 294 "type": "debugpy", 295 "request": "launch", 296 "module": "pytest", 297 "args": [ 298 "tests/integration/scenarios_declarative/test_declarative_runner.py::test_declarative_scenario[embeds/late/test_ac_template_missing_template_file]" 299 ], 300 "justMyCode": false, 301 "console": "integratedTerminal", 302 "env": { 303 "PYTHONPATH": "${workspaceFolder}" 304 } 305 }, 306 { 307 "name": "Debug Declarative Test", 308 "type": "debugpy", 309 "request": "launch", 310 "module": "pytest", 311 "args": [ 312 "tests/integration/scenarios_declarative/test_declarative_runner.py::test_declarative_scenario[${input:declarativeTestPath}]", 313 "-vv" 314 ], 315 "console": "integratedTerminal", 316 "justMyCode": false 317 }, 318 { 319 "name": "Debug Programmatic Test", 320 "type": "debugpy", 321 "request": "launch", 322 "module": "pytest", 323 "args": [ 324 "tests/${input:programmaticTestPath}", 325 "-vv" 326 ], 327 "console": "integratedTerminal", 328 "justMyCode": false 329 }, 330 { 331 "name": "SAM Eval", 332 "type": "debugpy", 333 "request": "launch", 334 "module": "cli.main", 335 "console": "integratedTerminal", 336 "args": [ 337 "eval", 338 "tests/evaluation/remote_example.json", 339 "-v" 340 ], 341 "justMyCode": false, 342 "env": { 343 "LOGGING_CONFIG_PATH": "${workspaceFolder}/preset/logging_config.yaml" 344 } 345 } 346 ], 347 "inputs": [ 348 { 349 "id": "declarativeTestPath", 350 "description": "Enter the test case path (e.g., builtin_artifact_tools/list_artifacts/test_list_artifacts_empty)", 351 "default": "builtin_artifact_tools/list_artifacts/test_list_artifacts_empty", 352 "type": "promptString" 353 }, 354 { 355 "id": "programmaticTestPath", 356 "description": "Enter the test path name (e.g., integration/...)", 357 "default": "integration/", 358 "type": "promptString" 359 } 360 ] 361 }