Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8046991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T05:57:55+00:00 2026-06-05T05:57:55+00:00

Inside ipython you can use a magic command: %run -d myapp.py This will run

  • 0

Inside ipython you can use a magic command:

%run -d myapp.py

This will run the app inside ipython and as soon as it crashes it will fire ipdb right in place to inspect the crash. How can I force django runserver to fallback right away into ipdb/ipython after encoutering an error instead of displaying error page (of course I don’t need ipdb in browser – I’m talking about console I ran manage.py in)?

PS. I know about ipdb.set_trace() – I want the ipdb to be run automatically when an error occurs – this would be a real time saver!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T05:57:58+00:00Added an answer on June 5, 2026 at 5:57 am

    You can use django-pdb. It’s very easy. The post mortem mode only is in a fork still

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Please help me get an embedded ipython console to run inside a doctest. The
Inside a knockout.js binding expression, I can use the $data , $parent , and
Inside Jenkins, I already setup a build.xml to use Ant to compile the Java
Inside the readme file of the ASP.NET Universal providers NuGet package is this quote
inside of my Zend_Db_Table_Rowset Object i found this: [_primary:protected] ... does anybody if theres
Inside a function I have created, I have this loop that checks if the
inside of initWithConder self.superview will always return (null) for me. How does one get
Inside my app I'm using a jQuery plugin, FullCalendar - it is a jQuery
Inside my app, I want to send a message to a dialog from a
inside of my div.hanging is a form. This form contains a hidden inputfield with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.