Files
metasploit-gs/external/vscode/launch.json
T
Grant Willcox ae4e616c3b Update Navigating-And-Undstanding-Metasploits-Codebase to add new code navigation tools and debugging tools
Move debugging info into same file and make markdown match standards

Add more info on Pry debugging using Alan David Foster's explaination

Fix up broken URL links and format new URL links correctly

Fix up formatting and add information on Debug.gem supported commands
2023-06-09 09:17:46 -05:00

31 lines
1.1 KiB
JSON

{
// Example file to showcase how to debug Metasploit using the ruby/debug gem along with the
// ruby/vscode-rdbg VSCode plugin. This file will be used by VSCode and the ruby/vscode-rdbg
// plugin to figure out how to connect to setup the rdbg instance for msfconsole and then connect
// to it properly, allowing you to debug Metasploit and more specifically msfconsole and any associated
// modules that you run within it.
"version": "0.2.0",
"configurations": [
{
"type": "rdbg",
"name": "Debug current file with rdbg",
"request": "launch",
"script": "${cwd}/msfconsole",
"args": [],
"askParameters": true,
"localfs": true,
"useBundler": true,
"useTerminal": true,
"debugPort": "127.0.0.1:55634"
},
{
"type": "rdbg",
"name": "Attach with rdbg",
"request": "attach",
"localfs": true,
"useTerminal": true,
"useBundler": true,
"debugPort": "127.0.0.1:55634"
}
]
}