mirror of https://github.com/gophish/gophish
135 lines
3.8 KiB
JSON
135 lines
3.8 KiB
JSON
{
|
|
// 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": "Connect to server",
|
|
"type": "go",
|
|
"request": "attach",
|
|
"mode": "remote",
|
|
"remotePath": "${workspaceFolder}",
|
|
"port": 2345,
|
|
"host": "127.0.0.1"
|
|
},
|
|
{
|
|
"name": "Attach to Chrome",
|
|
"port": 9222,
|
|
"request": "attach",
|
|
"type": "chrome",
|
|
"webRoot": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"name": "Launch Chrome",
|
|
"request": "launch",
|
|
"type": "chrome",
|
|
"url": "http://localhost:8080",
|
|
"webRoot": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"name": "Attach to Chrome",
|
|
"port": 9222,
|
|
"request": "attach",
|
|
"type": "chrome",
|
|
"webRoot": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"name": "Connect to server",
|
|
"type": "go",
|
|
"request": "attach",
|
|
"mode": "remote",
|
|
"remotePath": "${workspaceFolder}",
|
|
"port": 2345,
|
|
"host": "127.0.0.1"
|
|
},
|
|
{
|
|
"args": [
|
|
"--extensionDevelopmentPath=${workspaceFolder}"
|
|
],
|
|
"name": "Launch Extension",
|
|
"outFiles": [
|
|
"${workspaceFolder}/out/**/*.js"
|
|
],
|
|
"preLaunchTask": "npm",
|
|
"request": "launch",
|
|
"type": "extensionHost"
|
|
},
|
|
{
|
|
"name": "Connect to server",
|
|
"type": "go",
|
|
"request": "attach",
|
|
"mode": "remote",
|
|
"remotePath": "${workspaceFolder}",
|
|
"port": 2345,
|
|
"host": "127.0.0.1"
|
|
},
|
|
{
|
|
"name": "\","type": "go","request": "attach",
|
|
"mode": "remote",
|
|
"remotePath": "${workspaceFolder}",
|
|
"port": 2345,
|
|
"host": "127.0.0.1"
|
|
},
|
|
{
|
|
"name": "","type": "go","request": "attach",
|
|
"mode": "remote",
|
|
"remotePath": "${workspaceFolder}",
|
|
"port": 2345,
|
|
"host": "127.0.0.1"
|
|
},
|
|
{
|
|
"name": "Launch Edge",
|
|
"request": "launch",
|
|
"type": "msedge",
|
|
"url": "http://localhost:8080",
|
|
"webRoot": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"name": "Launch test function",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "test",
|
|
"program": "${workspaceFolder}",
|
|
"args": [
|
|
"-test.run",
|
|
"MyTestFunction"
|
|
]
|
|
},
|
|
{
|
|
"name": "Launch test function",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "test",
|
|
"program": "${workspaceFolder}",
|
|
"args": [
|
|
"-test.run",
|
|
"MyTestFunction"
|
|
]
|
|
},
|
|
{
|
|
"name": "Launch Package",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "auto",
|
|
"program": "${fileDirname}"
|
|
},
|
|
{
|
|
"name": "Connect to server",
|
|
"type": "go",
|
|
"request": "attach",
|
|
"mode": "remote",
|
|
"remotePath": "${workspaceFolder}",
|
|
"port": 2345,
|
|
"host": "127.0.0.1"
|
|
},
|
|
{
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"name": "Launch Chrome against localhost",
|
|
"url": "http://localhost:8080",
|
|
"webRoot": "${workspaceFolder}"
|
|
}
|
|
]
|
|
} |