{ "name": "Amaranth HDL - IceBreaker", "build": { "dockerfile": "Dockerfile", "context": ".." }, "remoteUser": "vscode", "workspaceFolder": "/workspace", "workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached", "mounts": [ "source=${localEnv:HOME}${localEnv:USERPROFILE}/.claude,target=/home/vscode/.claude,type=bind,consistency=cached", "source=/dev/bus/usb,target=/dev/bus/usb,type=bind" ], // --privileged + the /dev/bus/usb bind mount give libusb (iceprog, pyftdi) // access to the FT2232H once it is usbipd-attached into WSL2. Attach the // device on the Windows host BEFORE opening/rebuilding the container: // .devcontainer/attach-icebreaker.ps1 (run as Administrator) // New devices attached after start still appear (the bind mount is live). "runArgs": ["--privileged"], "customizations": { "vscode": { "extensions": [ "ms-python.python", "ms-python.pylance", "anthropic.claude-code" ], "settings": { "python.defaultInterpreterPath": "/opt/venv/bin/python" } } } }