CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/external/vscode/launch.json
Views: 11701
1
{
2
// Example file to showcase how to debug Metasploit using the ruby/debug gem along with the
3
// ruby/vscode-rdbg VSCode plugin. This file will be used by VSCode and the ruby/vscode-rdbg
4
// plugin to figure out how to connect to setup the rdbg instance for msfconsole and then connect
5
// to it properly, allowing you to debug Metasploit and more specifically msfconsole and any associated
6
// modules that you run within it.
7
"version": "0.2.0",
8
"configurations": [
9
{
10
"type": "rdbg",
11
"name": "Debug current file with rdbg",
12
"request": "launch",
13
"script": "${cwd}/msfconsole",
14
"args": [],
15
"askParameters": true,
16
"localfs": true,
17
"useBundler": true,
18
"useTerminal": true,
19
"debugPort": "127.0.0.1:55634"
20
},
21
{
22
"type": "rdbg",
23
"name": "Attach with rdbg",
24
"request": "attach",
25
"localfs": true,
26
"useTerminal": true,
27
"useBundler": true,
28
"debugPort": "127.0.0.1:55634"
29
}
30
]
31
}
32