Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 33 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,49 @@ go.work
go.work.sum

# env file
.env
.envrc
.env*

# JetBrains
.idea/

# Left over files from tests
coverage.txt
.DS_Store
.ci/ubuntu/log/rabbitmq.log

# Visual Studio Code
.vscode/*
!.vscode/settings.json
# Settings file has paths that are specific to the user, so we don't want to commit it
# !.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
!*.code-workspace

# Built Visual Studio Code Extensions
*.vsix
*.vsix

# General
.DS_Store
__MACOSX/
.AppleDouble
.LSOverride

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
104 changes: 104 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Debug Current Go File",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${file}"
},
{
"name": "Debug Package (Current Directory)",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${fileDirname}"
},
{
"name": "Debug Ginkgo Tests (pkg/rabbitmqamqp)",
"type": "go",
"request": "launch",
"mode": "test",
"program": "${workspaceFolder}/pkg/rabbitmqamqp",
"args": [
"-ginkgo.v",
"-ginkgo.progress",
"-ginkgo.trace"
],
"showLog": true
},
{
"name": "Debug Ginkgo Test (Focus)",
"type": "go",
"request": "launch",
"mode": "test",
"program": "${fileDirname}",
"args": [
"-ginkgo.v",
"-ginkgo.focus=${input:focusSpec}",
"-ginkgo.trace"
],
"showLog": true
},
{
"name": "Debug All Ginkgo Tests",
"type": "go",
"request": "launch",
"mode": "test",
"program": "${workspaceFolder}/pkg/rabbitmqamqp",
"args": [
"-ginkgo.v",
"-ginkgo.randomize-all",
"-ginkgo.randomize-suites",
"-ginkgo.trace"
],
"showLog": true
},
{
"name": "Debug Getting Started Example",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}/docs/examples/getting_started/main.go"
},
{
"name": "Debug RPC Echo Server Example",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}/docs/examples/rpc_echo_server/main.go"
},
{
"name": "Attach to Process",
"type": "go",
"request": "attach",
"mode": "local",
"processId": "${command:pickProcess}"
},
{
"name": "Debug Ginkgo Test (Current File)",
"type": "go",
"request": "launch",
"mode": "test",
"program": "${fileDirname}",
"args": [
"-ginkgo.v",
"-ginkgo.trace"
],
"showLog": true,
"buildFlags": "-tags=integration"
}
],
"inputs": [
{
"id": "focusSpec",
"type": "promptString",
"description": "Enter the test spec to focus on (regex pattern)",
"default": ""
}
]
}