{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "java",
            "name": "AesEncryptUtil",
            "request": "launch",
            "mainClass": "org.xyzh.common.utils.crypto.AesEncryptUtil",
            "projectName": "common-utils"
        },
        {
            "type": "java",
            "name": "Gateway (8180)",
            "request": "launch",
            "mainClass": "org.xyzh.gateway.GatewayApplication",
            "projectName": "gateway",
            "cwd": "${workspaceFolder}/gateway",
            "args": [
                "--spring.profiles.active=dev"
            ],
            "vmArgs": [
                "-Dserver.port=8180"
            ],
            "console": "integratedTerminal"
        },
        {
            "type": "java",
            "name": "Auth (8181)",
            "request": "launch",
            "mainClass": "org.xyzh.auth.AuthApp",
            "projectName": "auth",
            "cwd": "${workspaceFolder}/auth",
            "args": [
                "--spring.profiles.active=dev"
            ],
            "vmArgs": [
                "-Dserver.port=8181"
            ],
            "console": "integratedTerminal"
        },
        {
            "type": "java",
            "name": "System (8182)",
            "request": "launch",
            "mainClass": "org.xyzh.system.SystemApp",
            "projectName": "system",
            "cwd": "${workspaceFolder}/system",
            "args": [
                "--spring.profiles.active=dev"
            ],
            "vmArgs": [
                "-Dserver.port=8182"
            ],
            "console": "integratedTerminal"
        },
        {
            "type": "java",
            "name": "Log (8183)",
            "request": "launch",
            "mainClass": "org.xyzh.log.LogApp",
            "projectName": "log",
            "cwd": "${workspaceFolder}/log",
            "args": [
                "--spring.profiles.active=dev"
            ],
            "vmArgs": [
                "-Dserver.port=8183"
            ],
            "console": "integratedTerminal"
        },
        {
            "type": "java",
            "name": "File (8184)",
            "request": "launch",
            "mainClass": "org.xyzh.file.FileApp",
            "projectName": "file",
            "cwd": "${workspaceFolder}/file",
            "args": [
                "--spring.profiles.active=dev"
            ],
            "vmArgs": [
                "-Dserver.port=8184"
            ],
            "console": "integratedTerminal"
        },
        {
            "type": "java",
            "name": "Message (8185)",
            "request": "launch",
            "mainClass": "org.xyzh.message.MessageApp",
            "projectName": "message",
            "cwd": "${workspaceFolder}/message",
            "args": [
                "--spring.profiles.active=dev"
            ],
            "vmArgs": [
                "-Dserver.port=8185"
            ],
            "console": "integratedTerminal"
        },
        {
            "type": "java",
            "name": "Bidding (8186)",
            "request": "launch",
            "mainClass": "org.xyzh.bidding.BiddingApp",
            "projectName": "bidding",
            "cwd": "${workspaceFolder}/bidding",
            "args": [
                "--spring.profiles.active=dev"
            ],
            "vmArgs": [
                "-Dserver.port=8186"
            ],
            "console": "integratedTerminal"
        },
        {
            "type": "java",
            "name": "Platform (8187)",
            "request": "launch",
            "mainClass": "org.xyzh.platform.PlatformApp",
            "projectName": "platform",
            "cwd": "${workspaceFolder}/platform",
            "args": [
                "--spring.profiles.active=dev"
            ],
            "vmArgs": [
                "-Dserver.port=8187"
            ],
            "console": "integratedTerminal"
        },
        {
            "type": "java",
            "name": "Workcase (8188)",
            "request": "launch",
            "mainClass": "org.xyzh.workcase.WorkcaseApp",
            "projectName": "workcase",
            "cwd": "${workspaceFolder}/workcase",
            "args": [
                "--spring.profiles.active=dev"
            ],
            "vmArgs": [
                "-Dserver.port=8188"
            ],
            "console": "integratedTerminal"
        },
        {
            "type": "java",
            "name": "Crontab (8189)",
            "request": "launch",
            "mainClass": "org.xyzh.crontab.CrontabApp",
            "projectName": "crontab",
            "cwd": "${workspaceFolder}/crontab",
            "args": [
                "--spring.profiles.active=dev"
            ],
            "vmArgs": [
                "-Dserver.port=8189"
            ],
            "console": "integratedTerminal"
        },
        {
            "type": "java",
            "name": "AI (8190)",
            "request": "launch",
            "mainClass": "org.xyzh.ai.AiApp",
            "projectName": "ai",
            "cwd": "${workspaceFolder}/ai",
            "args": [
                "--spring.profiles.active=dev"
            ],
            "vmArgs": [
                "-Dserver.port=8190"
            ],
            "console": "integratedTerminal"
        }
    ],
    "compounds": [
        {
            "name": "Core Services (Gateway + Auth + System)",
            "configurations": [
                "Gateway (8180)",
                "Auth (8181)",
                "System (8182)"
            ],
            "stopAll": true,
            "presentation": {
                "hidden": false,
                "group": "服务组合",
                "order": 1
            }
        },
        {
            "name": "All Services",
            "configurations": [
                "Gateway (8180)",
                "Auth (8181)",
                "System (8182)",
                // "Log (8183)",
                "File (8184)",
                // "Message (8185)",
                // "Bidding (8186)",
                // "Platform (8187)",
                "Workcase (8188)",
                // "Crontab (8189)",
                "AI (8190)"
            ],
            "stopAll": true,
            "presentation": {
                "hidden": false,
                "group": "服务组合",
                "order": 2
            }
        }
    ]
}