Commit a92c62f
Function Host Debugger View (#4883)
* Implementation for debug-isolated flag and streaming func CLI output
* Update src/utils/stream.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Address copilot feedback
* Refactor to set up stream in funcHostTasks
* Delete test snippet
* Add headerto stream file
* Remove the done call
* Update src/debug/FuncTaskProvider.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* WIP waiting for VSCode insiders fix
* Use onDidStartTerminalShellExecution API instead of proposed
* Remove proposed files
* Add note
* Remove unused async moniker
* Whoops, wrong async
* Little bit of cleaning
* Remove unusued function helper
* Last commit, I swears it
* Move event handler, added note
* Rename function due to PR feedback
* Push up WIP
* Push up WIP
* WIP for postDebug copilot analysis
* Add debug command activity
* WIP for copilot postdebug
* Merge with main
* Fix linter
* MVP for func debugger view
* Setting for debugger view, show first error
* Refactoring/cleaning up
* Remove the stop action and implement clear errors
* Clean up some code
* Remove the terminal dispose since it is not reinstantiated later
* Update src/funcCoreTools/funcHostTask.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/funcCoreTools/funcHostErrorUtils.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Add JSDoc documentation for IStartFuncProcessResult stream property (#4885)
* Initial plan
* Add JSDoc documentation for IStartFuncProcessResult interface
Co-authored-by: nturinski <5290572+nturinski@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: nturinski <5290572+nturinski@users.noreply.github.com>
* Prevent infinite stream iteration when func host task terminates (#4887)
* Initial plan
* Add AbortController to prevent infinite stream iteration
Co-authored-by: nturinski <5290572+nturinski@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: nturinski <5290572+nturinski@users.noreply.github.com>
* Update src/debug/FunctionHostDebugView.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Remove exhaustive check from switch statement
Removed exhaustive check for FuncHostDebugNode.
* npm install to update package-lock
* Convert shell args to be an array
* Fix duplicate log entries, fix func start tasks with args not being recognized
* Clean up some of the code
* Fix imports in tests
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* PR feedback
* Debugger view always visible but collapsed by default
* Display stopped hosts as well
* Expose ask copilot on top level node
* Make labels a bit more descriptive
* Refactor into individual tree items
* Remove enums that are not shared
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Nathan Turinski <naturins@microsoft.comm>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: nturinski <5290572+nturinski@users.noreply.github.com>1 parent 3b53f06 commit a92c62f
File tree
20 files changed
+1089
-51
lines changed- src
- commands
- debug
- nodes
- funcCoreTools
- tree/localProject
- utils
- test
20 files changed
+1089
-51
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
93 | 104 | | |
94 | 105 | | |
95 | 106 | | |
| |||
467 | 478 | | |
468 | 479 | | |
469 | 480 | | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
470 | 511 | | |
471 | 512 | | |
472 | 513 | | |
| |||
503 | 544 | | |
504 | 545 | | |
505 | 546 | | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
506 | 557 | | |
507 | 558 | | |
508 | 559 | | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
509 | 595 | | |
510 | 596 | | |
511 | 597 | | |
| |||
947 | 1033 | | |
948 | 1034 | | |
949 | 1035 | | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
950 | 1052 | | |
951 | 1053 | | |
952 | 1054 | | |
| |||
990 | 1092 | | |
991 | 1093 | | |
992 | 1094 | | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
993 | 1101 | | |
994 | 1102 | | |
995 | 1103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
148 | 154 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
0 commit comments