Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
G
git-repo
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux-tools
git-repo
Commits
8bd509b4
Commit
8bd509b4
authored
Apr 16, 2013
by
Matthias Putz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--amend
parent
82660781
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
main.py
main.py
+5
-6
No files found.
main.py
View file @
8bd509b4
...
@@ -419,7 +419,7 @@ def _Debug(host, env):
...
@@ -419,7 +419,7 @@ def _Debug(host, env):
else
:
else
:
sys
.
path
.
append
(
"C:
\\
Users
\
mputz
\
.IntelliJIdea12
\
config
\
plugins
\
python
\
pycharm-debug-py3k.egg"
)
sys
.
path
.
append
(
"C:
\\
Users
\
mputz
\
.IntelliJIdea12
\
config
\
plugins
\
python
\
pycharm-debug-py3k.egg"
)
sys
.
path
.
append
(
"C:
\\
Users
\
mputz
\
.IntelliJIdea12
\
config
\
plugins
\
python
\
helpers
\
pydev"
)
sys
.
path
.
append
(
"C:
\\
Users
\
mputz
\
.IntelliJIdea12
\
config
\
plugins
\
python
\
helpers
\
pydev"
)
import
pydevd
as
pydevd
import
pydevd
pydevd
.
settrace
(
host
,
port
=
19499
,
stdoutToServer
=
True
,
stderrToServer
=
True
)
pydevd
.
settrace
(
host
,
port
=
19499
,
stdoutToServer
=
True
,
stderrToServer
=
True
)
print
(
"hey"
)
print
(
"hey"
)
...
@@ -484,6 +484,10 @@ def _Main(argv):
...
@@ -484,6 +484,10 @@ def _Main(argv):
repo
.
_Config
(
argv
)
repo
.
_Config
(
argv
)
gopts
=
repo
.
config
[
2
]
gopts
=
repo
.
config
[
2
]
if
gopts
.
debug
:
print
(
"enter debug mode, host
%
s"
%
gopts
.
debug_host
)
_Debug
(
gopts
.
debug_host
,
gopts
.
debug_env
)
if
gopts
.
debug
:
if
gopts
.
debug
:
if
portable
.
isPosix
():
if
portable
.
isPosix
():
# deactivate pager on posix systems since forked process cant be debugged
# deactivate pager on posix systems since forked process cant be debugged
...
@@ -495,11 +499,6 @@ def _Main(argv):
...
@@ -495,11 +499,6 @@ def _Main(argv):
# everything was already done; so exit
# everything was already done; so exit
return
0
return
0
if
gopts
.
debug
:
print
(
"enter debug mode, host
%
s"
%
gopts
.
debug_host
)
_Debug
(
gopts
.
debug_host
,
gopts
.
debug_env
)
print
(
"done debugging?"
)
try
:
try
:
try
:
try
:
init_ssh
()
init_ssh
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment