Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: vscode launch file to debug celery tasks #18598

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

Gilbert09
Copy link
Member

Problem

  • Using the existing vscode launch config for celery didn't allow me to debug tasks, and workers would spontaneously fail

Changes

  • Update the launch config with the same settings as what celery is loaded with in ./bin/start

How did you test this code?

  • Run a task locally and debug it 🤓

@Gilbert09 Gilbert09 requested a review from a team November 14, 2023 12:10
@posthog-bot
Copy link
Contributor

Hey @Gilbert09! 👋
This pull request seems to contain no description. Please add useful context, rationale, and/or any other information that will help make sense of this change now and in the distant Mars-based future.

Copy link
Collaborator

@mariusandra mariusandra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not using vscode, but here's a ✅ in case nobody else confirms this works in a reasonable amount of time. Not many people debug python via vscode.

Copy link
Member

@Twixes Twixes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's been a long time since I used this, but looks good

@Gilbert09 Gilbert09 merged commit 182e527 into master Nov 15, 2023
68 checks passed
@Gilbert09 Gilbert09 deleted the tom/fix-celery-launch-vscode branch November 15, 2023 09:36
pauldambra pushed a commit that referenced this pull request Nov 15, 2023
Fix the vscode launch file to debug celery tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants