Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 140 for debugging (0.2 sec)

  1. 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:
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Jun 22 17:04:16 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/debugging.md

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

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

    以下の様な画面になります:
    
    <img src="/img/tutorial/debugging/image01.png">
    
    ---
    
    Pycharmを使用する場合、次のことが可能です:
    
    * 「実行」メニューをオープン。
    * オプション「デバッグ...」を選択。
    * 次にコンテキストメニューが表示される。
    * デバッグするファイル (ここでは `main.py`) を選択。
    
    すると、**FastAPI** コードでサーバーが起動され、ブレークポイントで停止したりするでしょう。
    
    以下の様な画面になります:
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sun Feb 07 17:25:31 GMT 2021
    - 3K bytes
    - Viewed (0)
  5. 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` :
    
    ```Python hl_lines="1  15"
    {!../../../docs_src/debugging/tutorial001.py!}
    ```
    
    ### À propos de `__name__ == "__main__"`
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Mon Mar 06 16:26:49 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  6. 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
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/debugging.md

    📥 ❔ ⚫️ 💪 👀:
    
    <img src="/img/tutorial/debugging/image01.png">
    
    ---
    
    🚥 👆 ⚙️ 🗒, 👆 💪:
    
    * 📂 "🏃" 🍣.
    * 🖊 🎛 "ℹ...".
    * ⤴️ 🔑 🍣 🎦 🆙.
    * 🖊 📁 ℹ (👉 💼, `main.py`).
    
    ⚫️ 🔜 ⤴️ ▶️ 💽 ⏮️ 👆 **FastAPI** 📟, ⛔️ 👆 0️⃣, ♒️.
    
    📥 ❔ ⚫️ 💪 👀:
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  8. .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
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Dec 29 23:52:41 GMT 2023
    - 707 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
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 18 20:47:03 GMT 2023
    - 384 bytes
    - Viewed (0)
  10. .github/workflows/people.yml

    name: FastAPI People
    
    on:
      schedule:
        - cron: "0 14 1 * *"
      workflow_dispatch:
        inputs:
          debug_enabled:
            description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
            required: false
            default: 'false'
    
    jobs:
      fastapi-people:
        if: github.repository_owner == 'tiangolo'
        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
    Others
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 07:19:41 GMT 2023
    - 1.2K bytes
    - Viewed (0)
Back to top