René's URL Explorer Experiment


Title: Bring launch sequencing in line with DAP spec · Issue #2191 · PowerShell/PowerShellEditorServices · GitHub

Open Graph Title: Bring launch sequencing in line with DAP spec · Issue #2191 · PowerShell/PowerShellEditorServices

X Title: Bring launch sequencing in line with DAP spec · Issue #2191 · PowerShell/PowerShellEditorServices

Description: Prerequisites I have written a descriptive issue title. I have searched all issues to ensure it has not already been requested. Summary Currently, our DAP conversation doesn't follow the spec explicitly in terms of conversation. What is ...

Open Graph Description: Prerequisites I have written a descriptive issue title. I have searched all issues to ensure it has not already been requested. Summary Currently, our DAP conversation doesn't follow the spec expli...

X Description: Prerequisites I have written a descriptive issue title. I have searched all issues to ensure it has not already been requested. Summary Currently, our DAP conversation doesn't follow the spec e...

Opengraph URL: https://github.com/PowerShell/PowerShellEditorServices/issues/2191

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bring launch sequencing in line with DAP spec","articleBody":"### Prerequisites\r\n\r\n- [X] I have written a descriptive issue title.\r\n- [X] I have searched all [issues](https://github.com/PowerShell/PowerShellEditorServices/issues?q=is%3Aissue) to ensure it has not already been requested.\r\n\r\n### Summary\r\n\r\nCurrently, our DAP conversation doesn't follow the spec explicitly in terms of conversation.\r\n\r\nWhat is supposed to happen:\r\n1. Initialize is sent and server responds, then responds with capabilities\r\n1. Launch is sent by client after receiving capabilities. **should be held and deferred until configurationDone**\r\n1. Server sends initialized event (preferably when ready to receive launch requests)\r\n3. Client does config after initialized \r\n4. Configuration is done (breakpoints etc.)\r\n5. launch request is now responded to after configuration is completed\r\n\r\nIn actuality, we respond to the launch request immediately before configuration\r\n![image](https://github.com/user-attachments/assets/6d9ebc27-922a-4c0b-a6bb-b674ba0695fd)\r\n\r\nThe spec states:\r\n```\r\nOnce the debug adapter is ready to receive configuration from the client, it sends an initialized event to the client. As described above, the client sends zero or more configuration-related requests before sending a configurationDone request.\r\n\r\nAfter the response to configurationDone is sent, the debug adapter may respond to the launch or attach request, and then the debug session has started.\r\n```\r\n\r\n### Proposed Design\r\n\r\nWe need to hold the launch response until after configurationDone is completed. Fixing this would likely be part of a larger refactor to fix the odd behavior of scripts being started directly within configurationDone handler, rather than configurationDone triggering an event or otherwise to start/release any pending launch messages.\r\n\r\nAs part of this, because the spec currently does not allow multiplexing requests over a single adapter channel, the launch/attach should singleton and throw an error if any additional launch/attach requests are made until the existing one completes.\r\n\r\n### Implementation Idea\r\nWhen a launch task is started, a `TaskCompletionSource` or otherwise should be started and awaited, and the configurationDone handler will complete that task, enabling the launch task to resume and return its startup response.","author":{"url":"https://github.com/JustinGrote","@type":"Person","name":"JustinGrote"},"datePublished":"2024-10-15T00:19:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/2191/PowerShellEditorServices/issues/2191"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5d07c1a0-5d55-7b25-f5d7-8d38c00bb6cc
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id90B8:3E07E8:124A3D0:1A629AE:6A57787F
html-safe-noncee69c7d8181f9bffa9501976124d55ba8c12d1bfa1ff55b79ba8092bd22abbb92
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEI4OjNFMDdFODoxMjRBM0QwOjFBNjI5QUU6NkE1Nzc4N0YiLCJ2aXNpdG9yX2lkIjoiNjU1MzcyNDMwMTM1ODg4OTA4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7e3a3f22525c691534bc1198a782691079c8cea650c1b18afb92b2056f7225bf
hovercard-subject-tagissue:2587332440
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/PowerShell/PowerShellEditorServices/2191/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2ec5ca6f7db6d9445439950dc49d9217a800f7ac71a176af6376a61998c722b1/PowerShell/PowerShellEditorServices/issues/2191
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2ec5ca6f7db6d9445439950dc49d9217a800f7ac71a176af6376a61998c722b1/PowerShell/PowerShellEditorServices/issues/2191
og:image:altPrerequisites I have written a descriptive issue title. I have searched all issues to ensure it has not already been requested. Summary Currently, our DAP conversation doesn't follow the spec expli...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJustinGrote
hostnamegithub.com
expected-hostnamegithub.com
None4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98
turbo-cache-controlno-preview
go-importgithub.com/PowerShell/PowerShellEditorServices git https://github.com/PowerShell/PowerShellEditorServices.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id36031537
octolytics-dimension-repository_nwoPowerShell/PowerShellEditorServices
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36031537
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShellEditorServices
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
releasec0ca805e53f128ba1f966be1d3ccd81d0d1959c7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PowerShell/PowerShellEditorServices/issues/2191#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShellEditorServices%2Fissues%2F2191
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/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/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/enterprise/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%2FPowerShell%2FPowerShellEditorServices%2Fissues%2F2191
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=PowerShell%2FPowerShellEditorServices
Reloadhttps://github.com/PowerShell/PowerShellEditorServices/issues/2191
Reloadhttps://github.com/PowerShell/PowerShellEditorServices/issues/2191
Reloadhttps://github.com/PowerShell/PowerShellEditorServices/issues/2191
Please reload this pagehttps://github.com/PowerShell/PowerShellEditorServices/issues/2191
PowerShell https://github.com/PowerShell
PowerShellEditorServiceshttps://github.com/PowerShell/PowerShellEditorServices
Notifications https://github.com/login?return_to=%2FPowerShell%2FPowerShellEditorServices
Fork 260 https://github.com/login?return_to=%2FPowerShell%2FPowerShellEditorServices
Star 759 https://github.com/login?return_to=%2FPowerShell%2FPowerShellEditorServices
Code https://github.com/PowerShell/PowerShellEditorServices
Issues 127 https://github.com/PowerShell/PowerShellEditorServices/issues
Pull requests 14 https://github.com/PowerShell/PowerShellEditorServices/pulls
Actions https://github.com/PowerShell/PowerShellEditorServices/actions
Security and quality 0 https://github.com/PowerShell/PowerShellEditorServices/security
Insights https://github.com/PowerShell/PowerShellEditorServices/pulse
Code https://github.com/PowerShell/PowerShellEditorServices
Issues https://github.com/PowerShell/PowerShellEditorServices/issues
Pull requests https://github.com/PowerShell/PowerShellEditorServices/pulls
Actions https://github.com/PowerShell/PowerShellEditorServices/actions
Security and quality https://github.com/PowerShell/PowerShellEditorServices/security
Insights https://github.com/PowerShell/PowerShellEditorServices/pulse
#2250https://github.com/PowerShell/PowerShellEditorServices/pull/2250
Bring launch sequencing in line with DAP spechttps://github.com/PowerShell/PowerShellEditorServices/issues/2191#top
#2250https://github.com/PowerShell/PowerShellEditorServices/pull/2250
Issue-EnhancementA feature request (enhancement).https://github.com/PowerShell/PowerShellEditorServices/issues?q=state%3Aopen%20label%3A%22Issue-Enhancement%22
https://github.com/JustinGrote
JustinGrotehttps://github.com/JustinGrote
on Oct 15, 2024https://github.com/PowerShell/PowerShellEditorServices/issues/2191#issue-2587332440
issueshttps://github.com/PowerShell/PowerShellEditorServices/issues?q=is%3Aissue
https://private-user-images.githubusercontent.com/15258962/376412685-6d9ebc27-922a-4c0b-a6bb-b674ba0695fd.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODQxMTc2NzYsIm5iZiI6MTc4NDExNzM3NiwicGF0aCI6Ii8xNTI1ODk2Mi8zNzY0MTI2ODUtNmQ5ZWJjMjctOTIyYS00YzBiLWE2YmItYjY3NGJhMDY5NWZkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA3MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNzE1VDEyMDkzNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg0NDU0ODdkYWNlYmMzY2Y5NTkzMzljNGMyYmI3NjU3ZjM3NDgyOWNmMzgwNGEzMWY4ZmUzOWVjYTdlNjUyYzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.KtR0L8UUqOJsuaR2C_-9rMeyoCf96tl0oZ3DjlGY9Fc
Issue-EnhancementA feature request (enhancement).https://github.com/PowerShell/PowerShellEditorServices/issues?q=state%3Aopen%20label%3A%22Issue-Enhancement%22
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.