Tag: debug

  1. Updated

    mitmproxy: proxy any network traffic through your local machine

    Category: DevOps, Python, Web Development

    mitmproxy is a free and open source interactive HTTPS proxy.

  2. Updated

    Print traceback call stack in Python

    Category: Python

    Print Python stack traces without raising an exception.

  3. Updated

    Find circular imports in Python

    Category: Python

    You could use python -vv to inspect import relations.

  4. Updated

    ngrok: Share your localhost services with friends

    Category: DevOps

    Generate a https://xxx.ngrok.com URL for letting other people access your localhost services.

  5. Updated

    Remotely debug a Python app inside a Docker container in Visual Studio Code

    Category: Python, Web Development

    In this article, we are going to debug a Flask app inside a local Docker container through VS Code's fancy debugger, and simultaneously we are still able to leverage Flask's auto-reloading mechanism. It should apply to other Python apps.

  6. Updated

    Spark troubleshooting

    Category: AI, Big Data, DevOps

    Wild "Task not serializable" appeared!

  7. Updated

    IPython: the Python REPL interpreter

    Category: Python

    IPython is a neat alternative of Python's builtin REPL (Read–Eval–Print Loop) interpreter, also a kernel of Jupyter.

  8. Updated

    Tools for Profiling your Python Projects

    Category: Python, Web Development

    Tools you could use to profile your Python, Django or Flask projects, including: timer, pycallgraph, cProfile, line-profiler, memory-profiler.

  9. Updated

    django-debug-toolbar: The Debugging Toolkit for Django

    Category: Python, Web Development

    django-debug-toolbar is a toolbox to display various debug information about the current request and response in Django.

  10. Updated

    ipdb: The interactive Python debugger with IPython

    Category: Python

    ipdb is an interactive Python Debugger with IPython integration, which features tab completion and syntax highlighting, etc. In layman's terms, ipdb is a better pdb.