Skip to content

Conversation

@gaogaotiantian
Copy link
Contributor

What changes were proposed in this pull request?

Use sys.orig_argv to rule out the non-user debugpy process.

Add a warning message if pyspark.zip exists - because the user won't be able to hit the breakpoint inside the worker.

Why are the changes needed?

Improve the user experience with VSCode debugging.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Locally confirmed that the warning is issued.

Was this patch authored or co-authored using generative AI tooling?

No

@github-actions github-actions bot added the PYTHON label Dec 9, 2025
@zhengruifeng
Copy link
Contributor

merged to master

@gaogaotiantian gaogaotiantian deleted the issue-warning-for-vscode branch December 9, 2025 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants