From 3d569e042e9aa7bc5abb24355cbd11de19c2ce09 Mon Sep 17 00:00:00 2001 From: Daniel Quackenbush <25692880+danquack@users.noreply.github.com> Date: Sun, 22 Oct 2023 20:36:31 -0400 Subject: [PATCH 1/3] Add additional test for vscode --- .gitignore | 1 + .vscode/launch.json | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/.gitignore b/.gitignore index ca2cb3a61b..c5e7b86423 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,4 @@ terraform-provider-cloudflare dist/* .envrc .flox/ +.vscode/private.env diff --git a/.vscode/launch.json b/.vscode/launch.json index d4f33a1945..c8586d4dec 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -25,6 +25,21 @@ "args": [ "-debug", ], + }, + { + "name": "Debug Selected Test", + "request": "launch", + "type": "go", + "args": [ + "-test.v", + "-test.run", + "^${selectedText}$" + ], + "mode": "auto", + "program": "${fileDirname}", + "env": {"PKG_NAME": "${relativeFileDirname}"}, + "envFile": "${workspaceFolder}/.vscode/private.env", + "showLog": true } ] } From 906684cb3efec6a2c9c6418a7c866aa5f01bfbbd Mon Sep 17 00:00:00 2001 From: Daniel Quackenbush <25692880+danquack@users.noreply.github.com> Date: Sun, 22 Oct 2023 20:40:56 -0400 Subject: [PATCH 2/3] changelog --- .changelog/2870.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .changelog/2870.txt diff --git a/.changelog/2870.txt b/.changelog/2870.txt new file mode 100644 index 0000000000..10889dd163 --- /dev/null +++ b/.changelog/2870.txt @@ -0,0 +1,3 @@ +```release-note:new-guide +Adds additional debug method for vscode +``` From da7ab7c3a56d2517cbb535ce5f718976ef3eded2 Mon Sep 17 00:00:00 2001 From: Jacob Bednarz Date: Mon, 23 Oct 2023 11:44:26 +1100 Subject: [PATCH 3/3] remove changelog --- .changelog/2870.txt | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 .changelog/2870.txt diff --git a/.changelog/2870.txt b/.changelog/2870.txt deleted file mode 100644 index 10889dd163..0000000000 --- a/.changelog/2870.txt +++ /dev/null @@ -1,3 +0,0 @@ -```release-note:new-guide -Adds additional debug method for vscode -```