From 8f273bd109e64b430d10b04b7f3889dad85659ac Mon Sep 17 00:00:00 2001 From: Brigit Murtaugh Date: Tue, 9 Mar 2021 11:55:16 -0800 Subject: [PATCH] Add "remote.portsAttributes" --- .devcontainer/devcontainer.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 9816ff2..d1bcbb3 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -10,7 +10,13 @@ // Set *default* container specific settings.json values on container create. "settings": { - "terminal.integrated.shell.linux": "/bin/bash" + "terminal.integrated.shell.linux": "/bin/bash", + "remote.portsAttributes": { + "3000": { + "label": "My Port", + "onAutoForward": "notify" + } + } }, // Add the IDs of extensions you want installed when the container is created.