github.com/wiselike/revel-cmd@v1.2.1/.vscode/launch.json (about) 1 { 2 // Use IntelliSense to learn about possible attributes. 3 // Hover to view descriptions of existing attributes. 4 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 "version": "0.2.0", 6 "configurations": [ 7 { 8 "name": "Help", 9 "type": "go", 10 "request": "launch", 11 "mode": "auto", 12 "program": "${workspaceRoot}/revel", 13 "args": [] 14 }, 15 { 16 "name": "Create new", 17 "type": "go", 18 "request": "launch", 19 "preLaunchTask": "Clean-Test-Project", 20 "mode": "auto", 21 "program": "${workspaceRoot}/revel", 22 "args": ["new", "-v","-a", "${workspaceRoot}/.temp/revel/reveltest", "-p","revel.com/testproject"], 23 "env": { 24 "GOPATH": "${workspaceRoot}/.temp/revel/GOPATH" 25 }, 26 }, 27 { 28 "name": "Run program", 29 "type": "go", 30 "request": "launch", 31 "mode": "auto", 32 "program": "${workspaceRoot}/revel", 33 "args": ["run","-v", "-v","-a", "${workspaceRoot}/.temp/revel/reveltest"], 34 "env": { 35 "GOPATH": "${workspaceRoot}/.temp/revel/GOPATH" 36 }, 37 }, 38 { 39 "name": "Run program Directly", 40 "type": "go", 41 "request": "launch", 42 "mode": "auto", 43 "program": "${workspaceRoot}/.temp/revel/reveltest/app/tmp/main.go", 44 "args": ["-port=9000","-importPath=revel.com/testproject/reveltest", "-runMode={\"mode\":\"dev\", \"specialUseFlag\":true,\"packagePathMap\":{\"github.com/wiselike/revel-modules/static\":\"/home/notzippy/go/pkg/mod/github.com/wiselike/revel-modules@v1.0.0/static\",\"github.com/wiselike/revel-modules/testrunner\":\"/home/notzippy/go/pkg/mod/github.com/wiselike/revel-modules@v1.0.0/testrunner\",\"github.com/wiselike/revel\":\"/home/notzippy/go/pkg/mod/github.com/wiselike/revel@v1.0.0\",\"revel.com/testproject/reveltest\":\"/mnt/DevSystem/Work/Workareas/revel/revel3/cmd/.temp/revel/reveltest\"}}"], 45 "env": { 46 "GOPATH": "${workspaceRoot}/.temp/revel/GOPATH" 47 }, 48 } 49 ] 50 }