agrawal-d / cph

Makes judging, compiling, and downloading problems for competitive programming easy.
https://agrawal-d.github.io/cph
GNU General Public License v3.0
816 stars 137 forks source link

can't use in devcontainer #477

Closed DawnMagnet closed 3 months ago

DawnMagnet commented 3 months ago

Extension Version: latest

VS Code Version: latest

Browser Version:

Operating System: macOS 15

even I write a devcontainer.json like this, with port forwarding, and i can't get cph work inside devcontainer. it can open a sidebar page, but if i click the run button, it will stuck at state running

{
    "name": "cph-test",
    "image": "mcr.microsoft.com/devcontainers/base:bullseye",
    "features": {},
    "remoteEnv": {
        "LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}"
    },
    "customizations": {
        "vscode": {
            "extensions": [
                "DivyanshuAgrawal.competitive-programming-helper"
            ]
        }
    },
    "forwardPorts": [
        27121
    ]
}