René's URL Explorer Experiment


Title: Don't stop debugging after script execution in TemporaryIntegratedConsole · Issue #2180 · PowerShell/PowerShellEditorServices · GitHub

Open Graph Title: Don't stop debugging after script execution in TemporaryIntegratedConsole · Issue #2180 · PowerShell/PowerShellEditorServices

X Title: Don't stop debugging after script execution in TemporaryIntegratedConsole · Issue #2180 · 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 I use VSCode for developing PowerShell modules. For debugging, I create a PowerShell configuration in...

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 I use VSCode for developing PowerShell modules. For debugging...

X Description: Prerequisites I have written a descriptive issue title. I have searched all issues to ensure it has not already been requested. Summary I use VSCode for developing PowerShell modules. For debugging...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Don't stop debugging after script execution in TemporaryIntegratedConsole","articleBody":"### Prerequisites\n\n- [X] I have written a descriptive issue title.\n- [X] I have searched all [issues](https://github.com/PowerShell/PowerShellEditorServices/issues?q=is%3Aissue) to ensure it has not already been requested.\n\n### Summary\n\nI use VSCode for developing PowerShell modules. For debugging, I create a PowerShell configuration in the `launch.json` file with `createTemporaryIntegratedConsole` option enabled. This allows for a dedicated PowerShell session for debugging that is easy to restart.\r\n\r\nIn `launch.json` configuration, if the `script` option is not provided, the debugger still waits after the `[TEMP] PowerShell Extension` console opens: the debugger works in interactive mode, and if a command executed in the console hits a breakpoint, the debugger pauses. This mode allows you to efficiently debug a module, rather than having to update a temporary script.\r\n\r\nIf commands are entered in the `script` property in `launch.json`, for example to load the module and set the environment, the script is executed by PES and then the debugging session is stopped, although the temporary console remains open. This makes it impossible to debug in interactive mode. This requires not filling in the `script` property and manually entering the initialization commands each time the debugging session is (re)started, which is not practical for daily use when you frequently need to start from scratch.\n\n### Proposed Design\n\nIt would be useful if the debug session did not close until the temporary console is closed (since the primary purpose of running a script this way is to debug). While this cannot be enabled by default for reasons I do not know, an option to enforce this behavior would be welcome and very useful for developers.\r\n\r\nI haven't found a similar request here, but I did find one in the `vscode-powershell` repository: https://github.com/PowerShell/vscode-powershell/issues/1168\r\n\r\nFor my part, I have implemented a workaround that meets this need, while waiting for an official solution, by modifying a line in the `ConfigurationDoneHandler.cs` file: https://github.com/jul-m/PowerShellEditorServices/commit/d864c898600b82dd9b33f5abf7d7327c8af7224b","author":{"url":"https://github.com/jul-m","@type":"Person","name":"jul-m"},"datePublished":"2024-09-21T01:57:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/2180/PowerShellEditorServices/issues/2180"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:25585a11-652b-a577-8da2-8eb219ac414d
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD4A0:133F2F:256DD2:340F50:6A5842D4
html-safe-nonce0c470f1bbf206104583897bab4e82e65c67e68a654e8287b363e2cdddd0343e6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEEwOjEzM0YyRjoyNTZERDI6MzQwRjUwOjZBNTg0MkQ0IiwidmlzaXRvcl9pZCI6IjI3MzE4NzQ4MTQzODY1MjA3ODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac712b1f62e992661b99038a39c5efd61271a320f32710c832583bdc4b638929a1
hovercard-subject-tagissue:2539903450
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/2180/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2ac38e433bf77d91f57b8df5abb9c1d23c5d42176db7e2322f6f09eb2806aca0/PowerShell/PowerShellEditorServices/issues/2180
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2ac38e433bf77d91f57b8df5abb9c1d23c5d42176db7e2322f6f09eb2806aca0/PowerShell/PowerShellEditorServices/issues/2180
og:image:altPrerequisites I have written a descriptive issue title. I have searched all issues to ensure it has not already been requested. Summary I use VSCode for developing PowerShell modules. For debugging...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejul-m
hostnamegithub.com
expected-hostnamegithub.com
None5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6
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
release8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PowerShell/PowerShellEditorServices/issues/2180#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShellEditorServices%2Fissues%2F2180
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%2F2180
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/2180
Reloadhttps://github.com/PowerShell/PowerShellEditorServices/issues/2180
Reloadhttps://github.com/PowerShell/PowerShellEditorServices/issues/2180
Please reload this pagehttps://github.com/PowerShell/PowerShellEditorServices/issues/2180
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
Don't stop debugging after script execution in TemporaryIntegratedConsolehttps://github.com/PowerShell/PowerShellEditorServices/issues/2180#top
Area-Debugginghttps://github.com/PowerShell/PowerShellEditorServices/issues?q=state%3Aopen%20label%3A%22Area-Debugging%22
Issue-EnhancementA feature request (enhancement).https://github.com/PowerShell/PowerShellEditorServices/issues?q=state%3Aopen%20label%3A%22Issue-Enhancement%22
https://github.com/jul-m
jul-mhttps://github.com/jul-m
on Sep 21, 2024https://github.com/PowerShell/PowerShellEditorServices/issues/2180#issue-2539903450
issueshttps://github.com/PowerShell/PowerShellEditorServices/issues?q=is%3Aissue
PowerShell/vscode-powershell#1168https://github.com/PowerShell/vscode-powershell/issues/1168
jul-m@d864c89https://github.com/jul-m/PowerShellEditorServices/commit/d864c898600b82dd9b33f5abf7d7327c8af7224b
Area-Debugginghttps://github.com/PowerShell/PowerShellEditorServices/issues?q=state%3Aopen%20label%3A%22Area-Debugging%22
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.