Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Allow explicitly mark paths as library to exclude from 'justMyCode'

オープン
#1,914 コメント 4 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
devtools

調査の方向性

まず、issue で言及されている既存の PYDEVD_FILTERS と LIBRARY_ROOTS の処理を追跡します。明示的にライブラリとしてマークされたパスが、ユーザーコードでの停止を維持しつつ、例外発生時の停止にどのような影響を与えるべきかを判断し、その後、conda 環境の shared ディレクトリ配下にあるサードパーティのパスについてカバレッジを追加または更新します。

索引モデルが issue の本文から書いたものです。

説明

enhancement

Here's the situation: I'm debugging some Python code that relies on third-party libraries. The third-party libraries (unfortunately) are installed by a non-standard package manager and are under some subdirectory in the ./shared folder of the conda env. I'm trying to debug unit tests but the debugger constantly breaks into the third-party library on certain exceptions when the 'User Uncaught Exceptions' option is ticked. The exception in the third-party lib are actually handled by the standard lib somewhere so they never bubble up to my code, yet the debugger breaks every time. This is very annoying because I only want to break into the debugger on exception raised from my own code. I've tries setting PYDEVD_FILTERS and LIBRARY_ROOTS, that I found in the source code but neither worked.

主要言語
Python
スター
2.5k
フォーク
205
平均マージ
1日 9時間
マージ済み PR(30日)
3

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/debugpy のほかの issue

microsoft/debugpy の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。