Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Started to break it a part, src is now a package.
- Loading branch information
Patrik Lembke
committed
Mar 9, 2012
1 parent
3f00ece
commit ac6a2b2
Showing
3 changed files
with
14 additions
and
10 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env python | ||
import argparse | ||
from src.cleandebug import * | ||
|
||
if __name__ == "__main__": | ||
parser = argparse.ArgumentParser('dbgp debugger for PHP scripts.') | ||
parser.add_argument('--host', action='store', default='127.0.0.1', help='Host (defaults to 127.0.0.1)') | ||
parser.add_argument('--port', action='store', default=9000, help='Port (defaults to 9000)') | ||
parser.add_argument('path', action='store', help="The directory to look for scripts in.", default='.') | ||
args = parser.parse_args() | ||
debugger = Debugger(args.path, CursesUI(), args.port, args.host) | ||
debugger.listen() |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Nothing here |
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