This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Find open FirefoxOS connection open and listening for remote debugging | |
import psutil | |
def get_connections(p): | |
try: | |
return p.get_connections() | |
except: | |
return [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import psutil | |
def get_connections(p): | |
try: | |
return p.get_connections() | |
except: | |
return [] | |
NewerOlder