When the test is run through web interface, just append to the end of url “?responder=test&remote_debug=true”
Example:
Now after hitting this url, the test will not proceed unless some debugger is attached to the port 8000. So we need to start the debugger with 8000 port attached.
Console will display below messages :
Connected to the target VM, address: ‘localhost:8000’, transport: ‘socket’
Disconnected from the target VM, address: ‘localhost:8000’, transport: ‘socket’