- Click Runin the window menu
- Click Edit Configurations
- Click the +in the top left of the configurations window
- Select Ruby remote debug
- Enter the below information
- Click Applyto save the configuration
- Click Okto close the configurations window
Name: msfconsole (tab completion)
Server Command: rdebug-ide --host 0.0.0.0--port 1234 --dispatcher-port 26162 -- 
Remote host: localhost
Remote port: 1234
Remote root folder: pwd/metasploit-framework
Local port: 26162
Local root folder: pwd/metasploit-framework