Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 122 for Debugging (0.13 sec)

  1. docs/ru/docs/tutorial/debugging.md

    ## Вызов `uvicorn`
    
    В вашем FastAPI приложении, импортируйте и вызовите `uvicorn` напрямую:
    
    ```Python hl_lines="1  15"
    {!../../docs_src/debugging/tutorial001.py!}
    ```
    
    ### Описание `__name__ == "__main__"`
    
    Главная цель использования `__name__ == "__main__"` в том, чтобы код выполнялся при запуске файла с помощью:
    
    <div class="termy">
    
    ```console
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/debugging.md

    다음과 같이 표시됩니다.
    
    <img src="/img/tutorial/debugging/image01.png">
    
    ---
    
    Pycharm을 사용하는 경우 다음을 수행할 수 있습니다
    
    * "Run" 메뉴를 엽니다
    * "Debug..." 옵션을 선택합니다.
    * 그러면 상황에 맞는 메뉴가 나타납니다.
    * 디버그할 파일을 선택합니다(이 경우 `main.py`).
    
    그런 다음 **FastAPI** 코드로 서버를 시작하고 중단점 등에서 중지합니다.
    
    다음과 같이 표시됩니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/debugging.md

    # <abbr title="En anglais: Debugging">Débogage</abbr>
    
    Vous pouvez connecter le <abbr title="En anglais: debugger">débogueur</abbr> dans votre éditeur, par exemple avec Visual Studio Code ou PyCharm.
    
    ## Faites appel à `uvicorn`
    
    Dans votre application FastAPI, importez et exécutez directement `uvicorn` :
    
    {* ../../docs_src/debugging/tutorial001.py hl[1,15] *}
    
    ### À propos de `__name__ == "__main__"`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:31:14 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/debugging.md

    # Debugging
    
    You can connect the debugger in your editor, for example with Visual Studio Code or PyCharm.
    
    ## Call `uvicorn`
    
    In your FastAPI application, import and run `uvicorn` directly:
    
    ```Python hl_lines="1  15"
    {!../../docs_src/debugging/tutorial001.py!}
    ```
    
    ### About `__name__ == "__main__"`
    
    The main purpose of the `__name__ == "__main__"` is to have some code that is executed when your file is called with:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/debugging.md

    📥 ❔ ⚫️ 💪 👀:
    
    <img src="/img/tutorial/debugging/image01.png">
    
    ---
    
    🚥 👆 ⚙️ 🗒, 👆 💪:
    
    * 📂 "🏃" 🍣.
    * 🖊 🎛 "ℹ...".
    * ⤴️ 🔑 🍣 🎦 🆙.
    * 🖊 📁 ℹ (👉 💼, `main.py`).
    
    ⚫️ 🔜 ⤴️ ▶️ 💽 ⏮️ 👆 **FastAPI** 📟, ⛔️ 👆 0️⃣, ♒️.
    
    📥 ❔ ⚫️ 💪 👀:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/debugging.md

    ## Chamar `uvicorn`
    
    Em seu aplicativo FastAPI, importe e execute `uvicorn` diretamente:
    
    ```Python hl_lines="1  15"
    {!../../docs_src/debugging/tutorial001.py!}
    ```
    
    ### Sobre `__name__ == "__main__"`
    
    O objetivo principal de `__name__ == "__main__"` é ter algum código que seja executado quando seu arquivo for chamado com:
    
    <div class="termy">
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/debugging.md

    然后它会使用你的 **FastAPI** 代码开启服务器,停在断点处,等等。
    
    看起来可能是这样:
    
    <img src="/img/tutorial/debugging/image01.png">
    
    ---
    
    如果使用 Pycharm,你可以:
    
    * 打开「运行」菜单。
    * 选中「调试...」。
    * 然后出现一个上下文菜单。
    * 选择要调试的文件(本例中的 `main.py`)。
    
    然后它会使用你的 **FastAPI** 代码开启服务器,停在断点处,等等。
    
    看起来可能是这样:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/debugging.md

    以下の様な画面になります:
    
    <img src="/img/tutorial/debugging/image01.png">
    
    ---
    
    Pycharmを使用する場合、次のことが可能です:
    
    * 「実行」メニューをオープン。
    * オプション「デバッグ...」を選択。
    * 次にコンテキストメニューが表示される。
    * デバッグするファイル (ここでは `main.py`) を選択。
    
    すると、**FastAPI** コードでサーバーが起動され、ブレークポイントで停止したりするでしょう。
    
    以下の様な画面になります:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. .dockerignore

    default.etcd
    *.gz
    *.tar.gz
    *.bzip2
    *.zip
    browser/node_modules
    node_modules
    docs/debugging/s3-verify/s3-verify
    docs/debugging/xl-meta/xl-meta
    docs/debugging/s3-check-md5/s3-check-md5
    docs/debugging/hash-set/hash-set
    docs/debugging/healing-bin/healing-bin
    docs/debugging/inspect/inspect
    docs/debugging/pprofgoparser/pprofgoparser
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 18 20:47:03 UTC 2023
    - 384 bytes
    - Viewed (0)
  10. .gitignore

    nancy
    inspects/*
    .bin/
    *.gz
    docs/debugging/s3-verify/s3-verify
    docs/debugging/xl-meta/xl-meta
    docs/debugging/s3-check-md5/s3-check-md5
    docs/debugging/hash-set/hash-set
    docs/debugging/healing-bin/healing-bin
    docs/debugging/inspect/inspect
    docs/debugging/pprofgoparser/pprofgoparser
    docs/debugging/reorder-disks/reorder-disks
    docs/debugging/populate-hard-links/populate-hardlinks
    docs/debugging/xattr/xattr
    hash-set
    healing-bin
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 802 bytes
    - Viewed (0)
Back to top