René's URL Explorer Experiment


Title: Clarify debug_attach_sim argument combinations for PID attach · Issue #417 · getsentry/XcodeBuildMCP · GitHub

Open Graph Title: Clarify debug_attach_sim argument combinations for PID attach · Issue #417 · getsentry/XcodeBuildMCP

X Title: Clarify debug_attach_sim argument combinations for PID attach · Issue #417 · getsentry/XcodeBuildMCP

Description: Summary When using the debug_attach_sim MCP tool from Claude Code, the tool schema made it look like bundleId, pid, and waitFor could be supplied together. In practice, those fields are mutually constrained, and invalid combinations fail...

Open Graph Description: Summary When using the debug_attach_sim MCP tool from Claude Code, the tool schema made it look like bundleId, pid, and waitFor could be supplied together. In practice, those fields are mutually co...

X Description: Summary When using the debug_attach_sim MCP tool from Claude Code, the tool schema made it look like bundleId, pid, and waitFor could be supplied together. In practice, those fields are mutually co...

Opengraph URL: https://github.com/getsentry/XcodeBuildMCP/issues/417

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Clarify debug_attach_sim argument combinations for PID attach","articleBody":"## Summary\n\nWhen using the `debug_attach_sim` MCP tool from Claude Code, the tool schema made it look like `bundleId`, `pid`, and `waitFor` could be supplied together. In practice, those fields are mutually constrained, and invalid combinations fail only after the tool call is made.\n\n## What happened\n\nI was debugging a live iOS Simulator app and wanted to attach LLDB to an already-running process while preserving simulator/app state.\n\nThe schema exposed these fields:\n\n- `bundleId: string`\n- `pid: integer`\n- `waitFor: boolean`\n- `continueOnAttach: boolean`\n- `makeCurrent: boolean`\n\nBecause `bundleId` and `pid` both appeared required/available, I initially supplied both. That failed. I then tried PID attach with `waitFor: true`, which also failed with an invalid option combination. The working form was effectively PID-only attach with an empty bundle id and no wait:\n\n```json\n{\n  \"bundleId\": \"\",\n  \"pid\": 12345,\n  \"waitFor\": false,\n  \"continueOnAttach\": true,\n  \"makeCurrent\": true\n}\n```\n\n## Why this is confusing\n\nFor an MCP client/agent, the schema communicates what fields are required and valid. If a field appears required even though it is only required for one mode, the agent tends to provide it. That can push the model into invalid combinations such as:\n\n- `bundleId` + `pid`\n- `pid` + `waitFor: true`\n\nThe correct usage is discoverable only by failing calls, which is especially painful during debugging because failed attach attempts interrupt the LLDB workflow.\n\n## Suggested improvements\n\nCould the `debug_attach_sim` schema and/or tool error messages make the attach modes explicit?\n\nFor example:\n\n1. Model the inputs as one of two attach modes:\n   - attach by bundle id: `bundleId` required, `pid` omitted, `waitFor` allowed\n   - attach by PID: `pid` required, `bundleId` omitted, `waitFor` false/omitted\n2. Make `bundleId` optional when `pid` is provided, rather than requiring callers to pass `\"\"`.\n3. Return an error message that says exactly which combinations are valid, e.g.:\n   - `Provide either bundleId or pid, not both.`\n   - `waitFor is only valid when attaching by bundleId.`\n4. Add a short example for attaching to an already-running simulator app by PID.\n\n## Environment/context\n\n- Tool: XcodeBuildMCP via Claude Code MCP tools\n- Workflow: simulator debugging / LLDB attach\n- Goal: attach to an existing running app process without rebooting, reinstalling, or losing app state\n\nThanks for maintaining this tool. Once attached, `debug_lldb_command` worked well for raw LLDB commands like `process status`, `bt`, `frame variable`, and `po`.","author":{"url":"https://github.com/dpearson2699","@type":"Person","name":"dpearson2699"},"datePublished":"2026-05-13T17:37:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/417/XcodeBuildMCP/issues/417"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:790da372-da32-98a6-c26a-8ca9b78caae3
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idED96:2A5CAA:17AF9CA:22583CA:6A4CECB3
html-safe-nonce88137b649abf6003e75e6abba044f56bc6185a2f8816cf00d3f8cb25efd362a3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDk2OjJBNUNBQToxN0FGOUNBOjIyNTgzQ0E6NkE0Q0VDQjMiLCJ2aXNpdG9yX2lkIjoiMjMyNDk4NjU2NDk5ODY1NTE1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc55453e5a1786d0604625ea8636fa5c0bd51dd5765138933d3041eae6af93e55
hovercard-subject-tagissue:4439979148
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/XcodeBuildMCP/417/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d71ff5a89e98d38e532db034b9d10c1f44ec21361cf136cc78f11445bab79321/getsentry/XcodeBuildMCP/issues/417
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d71ff5a89e98d38e532db034b9d10c1f44ec21361cf136cc78f11445bab79321/getsentry/XcodeBuildMCP/issues/417
og:image:altSummary When using the debug_attach_sim MCP tool from Claude Code, the tool schema made it look like bundleId, pid, and waitFor could be supplied together. In practice, those fields are mutually co...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedpearson2699
hostnamegithub.com
expected-hostnamegithub.com
None299b43bca6e02ad35197ffeba30d2466846d5fb02ab96fbced5b5e6cec589fb8
turbo-cache-controlno-preview
go-importgithub.com/getsentry/XcodeBuildMCP git https://github.com/getsentry/XcodeBuildMCP.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id945551361
octolytics-dimension-repository_nwogetsentry/XcodeBuildMCP
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id945551361
octolytics-dimension-repository_network_root_nwogetsentry/XcodeBuildMCP
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseefec6750a5afcaeaf5dfcf629f404cf98c8371e3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/getsentry/XcodeBuildMCP/issues/417#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2FXcodeBuildMCP%2Fissues%2F417
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2FXcodeBuildMCP%2Fissues%2F417
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=getsentry%2FXcodeBuildMCP
Reloadhttps://github.com/getsentry/XcodeBuildMCP/issues/417
Reloadhttps://github.com/getsentry/XcodeBuildMCP/issues/417
Reloadhttps://github.com/getsentry/XcodeBuildMCP/issues/417
Please reload this pagehttps://github.com/getsentry/XcodeBuildMCP/issues/417
getsentry https://github.com/getsentry
XcodeBuildMCPhttps://github.com/getsentry/XcodeBuildMCP
Please reload this pagehttps://github.com/getsentry/XcodeBuildMCP/issues/417
Notifications https://github.com/login?return_to=%2Fgetsentry%2FXcodeBuildMCP
Fork 300 https://github.com/login?return_to=%2Fgetsentry%2FXcodeBuildMCP
Star 6k https://github.com/login?return_to=%2Fgetsentry%2FXcodeBuildMCP
Code https://github.com/getsentry/XcodeBuildMCP
Issues 14 https://github.com/getsentry/XcodeBuildMCP/issues
Pull requests 8 https://github.com/getsentry/XcodeBuildMCP/pulls
Discussions https://github.com/getsentry/XcodeBuildMCP/discussions
Actions https://github.com/getsentry/XcodeBuildMCP/actions
Projects https://github.com/getsentry/XcodeBuildMCP/projects
Security and quality 0 https://github.com/getsentry/XcodeBuildMCP/security
Insights https://github.com/getsentry/XcodeBuildMCP/pulse
Code https://github.com/getsentry/XcodeBuildMCP
Issues https://github.com/getsentry/XcodeBuildMCP/issues
Pull requests https://github.com/getsentry/XcodeBuildMCP/pulls
Discussions https://github.com/getsentry/XcodeBuildMCP/discussions
Actions https://github.com/getsentry/XcodeBuildMCP/actions
Projects https://github.com/getsentry/XcodeBuildMCP/projects
Security and quality https://github.com/getsentry/XcodeBuildMCP/security
Insights https://github.com/getsentry/XcodeBuildMCP/pulse
#430https://github.com/getsentry/XcodeBuildMCP/pull/430
Clarify debug_attach_sim argument combinations for PID attachhttps://github.com/getsentry/XcodeBuildMCP/issues/417#top
#430https://github.com/getsentry/XcodeBuildMCP/pull/430
https://github.com/dpearson2699
dpearson2699https://github.com/dpearson2699
on May 13, 2026https://github.com/getsentry/XcodeBuildMCP/issues/417#issue-4439979148
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.