#!/usr/bin/env python

# This file demonstrates mpdb's ability to debug a running process.
# Run this file, making note of it's pid and connect to it with,
# mpdb.py --pid=PID

import sys
sys.path.append('../..')

import mpdb
mpdb.process_debugging(protocol='tcp', addr=':9000')

try:
    while True:
        for i in range(10):
            x = i
except KeyboardInterrupt:
    pass



