From 8e814e260c352c08f92e91d5f9cac0691a601bc6 Mon Sep 17 00:00:00 2001 From: bamurtaugh Date: Fri, 5 Mar 2021 20:02:59 +0000 Subject: [PATCH] Add port attributes --- .devcontainer/devcontainer.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 11b6fb7..b83a17d 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -19,7 +19,13 @@ "terminal.integrated.shell.linux": "/bin/bash", "go.useGoProxyToCheckForToolUpdates": false, "go.gopath": "/go", - "go.useLanguageServer": true + "go.useLanguageServer": true, + "remote.portsAttributes": { + "9000": { + "label": "My Port", + "onAutoForward": "notify" + } + } }, // Add the IDs of extensions you want installed when the container is created.