-
-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debugging in Pycharm with django-nose not working #281
Comments
It seems pycharm has some kind if conflict with |
Ran into this, adding my solution: import sys
RUNNING_WITH_DEBUGGER = True if sys.gettrace() is not None else False
NOSE_ARGS = [
'--with-xunit',
'--xunit-file=nosetests.xml',
]
if not RUNNING_WITH_DEBUGGER:
NOSE_ARGS.extend([
'--cover-erase',
'--with-xcoverage',
'--xcoverage-file=coverage.xml',
'--cover-package=testDjangoApp',
]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can not run debugger in Pycharm with default configuration.
test runner just ignores breakpoints.
I'm using following configuration
Added
-s
option by following answer on this question on stackoverflowWhat am I doing wrong?
The text was updated successfully, but these errors were encountered: