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