Skip to content
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

unrecognized arguments: --ptvsd #1

Open
Heavyknights opened this issue Sep 5, 2019 · 1 comment
Open

unrecognized arguments: --ptvsd #1

Heavyknights opened this issue Sep 5, 2019 · 1 comment

Comments

@Heavyknights
Copy link

Followed steps in "usage" and got this error:

usage: django-admin runserver [-h] [--ipv6] [--nothreading] [--noreload]
[--version] [-v {0,1,2,3}] [--settings SETTINGS]
[--pythonpath PYTHONPATH] [--traceback]
[--no-color] [--force-color]
[addrport]
django-admin runserver: error: unrecognized arguments: --ptvsd

@felix-last
Copy link

felix-last commented Sep 18, 2019

Had the same issue and found that placing 'django_ptvsd' as the first entry in INSTALLED_APPS resolved it. Found the hint here: https://stackoverflow.com/a/37755287/1234438

Edit: Just realized that the readme explicitly states the following: "Add django_ptvsd to your INSTALLED_APPS above Django". Although django is not actually part of INSTALLED_APPS at all...?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants