You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After starting a django project remotely using the ssh engine, clicking Stop debugging will cause the IDE to not respond.
And the remote django service hasn't been stopped. I can still see the following process on the remote host.
*** Python 3.11.6 (tags/v3.11.6:8b6ee5b, Oct 2 2023, 14:57:12) [MSC v.1935 64 bit (AMD64)] on win32. ***
*** "120.79.4.143" SSH Python engine is active ***
*** Python 3.11.6 (main, Nov 29 2023, 16:14:51) [GCC 8.5.0 20210514 (Red Hat 8.5.0-4)] on linux. ***
*** Remote Interpreter Reinitialized ***
Command Line : runserver 0.0.0.0:8000 --noreload
Performing system checks...
System check identified no issues (0 silenced).
You have 18 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python manage.py migrate' to apply them.
October 04, 2024 - 12:08:27
Django version 3.2.12, using settings 'project.settings'
Starting development server at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
Internal Server Error: /chat/index/
Traceback (most recent call last):
File "/usr/local/demo_venv/lib/python3.11/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/demo_venv/lib/python3.11/site-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/project/chat/views.py", line 17, in index
c=b
^
File "/usr/local/python3.11.6/lib/python3.11/bdb.py", line 90, in trace_dispatch
return self.dispatch_line(frame)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/python3.11.6/lib/python3.11/bdb.py", line 115, in dispatch_line
if self.quitting: raise BdbQuit
^^^^^^^^^^^^^
bdb.BdbQuit
[04/Oct/2024 12:09:02] "GET /chat/index/ HTTP/1.1" 500 64739
This phenomenon will happen every time debugging. I took a video for observation. Attached is the demo and video of the test
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
After starting a django project remotely using the ssh engine, clicking Stop debugging will cause the IDE to not respond.
And the remote django service hasn't been stopped. I can still see the following process on the remote host.
ide message
This phenomenon will happen every time debugging. I took a video for observation. Attached is the demo and video of the test
py.mp4
django_demo.zip
Beta Was this translation helpful? Give feedback.
All reactions