Title: Improve the UX for running the current file · Issue #655 · microsoft/vscode-java-debug · GitHub
Open Graph Title: Improve the UX for running the current file · Issue #655 · microsoft/vscode-java-debug
X Title: Improve the UX for running the current file · Issue #655 · microsoft/vscode-java-debug
Description: The java debugger provided a launch template to run the current file. { "type": "java", "name": "Debug (Launch) - Current File", "request": "launch", "mainClass": "${file}" } when the user executed a debug session and then move to a diff...
Open Graph Description: The java debugger provided a launch template to run the current file. { "type": "java", "name": "Debug (Launch) - Current File", "request": "launch", "mainClass": "${file}" } when the user executed...
X Description: The java debugger provided a launch template to run the current file. { "type": "java", "name": "Debug (Launch) - Current File", "request": "l...
Opengraph URL: https://github.com/microsoft/vscode-java-debug/issues/655
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve the UX for running the current file","articleBody":"The java debugger provided a launch template to run the current file.\r\n```json\r\n {\r\n \"type\": \"java\",\r\n \"name\": \"Debug (Launch) - Current File\",\r\n \"request\": \"launch\",\r\n \"mainClass\": \"${file}\"\r\n }\r\n```\r\nwhen the user executed a debug session and then move to a different class, and hit F5, VS Code will try to find the main() method in the new file, which is good. However in case the new class doesn’t have the main() method, VS Code will report error saying there’s no main() method. It would be nice if it can fallback the last debug target if no main() method is found in the current file, instead of requiring user to go back to pervious file for starting the debug. ","author":{"url":"https://github.com/testforstephen","@type":"Person","name":"testforstephen"},"datePublished":"2019-09-10T01:54:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/655/vscode-java-debug/issues/655"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:aa055399-1880-bd87-166c-7aa7f073b3cd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C67A:3D1150:2F2597:3E0158:6A5B214D |
| html-safe-nonce | 38c2aa80c0c0308c8b1d385673e40089d1eef55500f9d81dbaf55bf27b4894dd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjdBOjNEMTE1MDoyRjI1OTc6M0UwMTU4OjZBNUIyMTREIiwidmlzaXRvcl9pZCI6IjczMTU0ODkyNTcyNzk5MjI1MDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8b2ba1fb7a36d82d81fa9764003781dc5fd46fee72368fcc0ec3de98733dc24e |
| hovercard-subject-tag | issue:491407312 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/vscode-java-debug/655/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b462e25f85d27d549685763f288fcf92c42c6ded238cc5b33f0911d9caf463df/microsoft/vscode-java-debug/issues/655 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b462e25f85d27d549685763f288fcf92c42c6ded238cc5b33f0911d9caf463df/microsoft/vscode-java-debug/issues/655 |
| og:image:alt | The java debugger provided a launch template to run the current file. { "type": "java", "name": "Debug (Launch) - Current File", "request": "launch", "mainClass": "${file}" } when the user executed... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | testforstephen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/vscode-java-debug git https://github.com/microsoft/vscode-java-debug.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 102584737 |
| octolytics-dimension-repository_nwo | microsoft/vscode-java-debug |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 102584737 |
| octolytics-dimension-repository_network_root_nwo | microsoft/vscode-java-debug |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width