Skip to content

Commit

Permalink
update lanch group (#12618)
Browse files Browse the repository at this point in the history
  • Loading branch information
QinghuiMeng-M authored Oct 29, 2024
1 parent 44f9e82 commit ee7099d
Show file tree
Hide file tree
Showing 12 changed files with 432 additions and 232 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,34 @@
"version": "0.2.0",
"configurations": [
{
"name": "Launch Remote (Edge)",
"name": "Launch Remote in Teams (Edge)",
"type": "msedge",
"request": "launch",
"url": "https://teams.microsoft.com/l/app/${{TEAMS_APP_ID}}?installAppPackage=true&webjoin=true&${account-hint}",
"presentation": {
"group": "3-remote",
"order": 1
{{#enableTestToolByDefault}}
"group": "2-Teams",
{{/enableTestToolByDefault}}
{{^enableTestToolByDefault}}
"group": "1-Teams",
{{/enableTestToolByDefault}}
"order": 4
},
"internalConsoleOptions": "neverOpen"
},
{
"name": "Launch Remote (Chrome)",
"name": "Launch Remote in Teams (Chrome)",
"type": "chrome",
"request": "launch",
"url": "https://teams.microsoft.com/l/app/${{TEAMS_APP_ID}}?installAppPackage=true&webjoin=true&${account-hint}",
"presentation": {
"group": "3-remote",
"order": 2
{{#enableTestToolByDefault}}
"group": "2-Teams",
{{/enableTestToolByDefault}}
{{^enableTestToolByDefault}}
"group": "1-Teams",
{{/enableTestToolByDefault}}
"order": 5
},
"internalConsoleOptions": "neverOpen"
},
Expand Down Expand Up @@ -66,13 +76,18 @@
"internalConsoleOptions": "neverOpen"
},
{
"name": "Launch Remote (Desktop)",
"name": "Launch Remote in Teams (Desktop)",
"type": "node",
"request": "launch",
"preLaunchTask": "Start Teams App in Desktop Client (Remote)",
"presentation": {
"group": "3-remote",
"order": 3
{{#enableTestToolByDefault}}
"group": "2-Teams",
{{/enableTestToolByDefault}}
{{^enableTestToolByDefault}}
"group": "1-Teams",
{{/enableTestToolByDefault}}
"order": 6
},
"internalConsoleOptions": "neverOpen",
{{#CEAEnabled}}
Expand All @@ -83,7 +98,7 @@
"request": "launch",
"url": "https://www.office.com/chat?auth=2&${account-hint}",
"presentation": {
"group": "4-M365",
"group": "3-M365",
"order": 3
},
"internalConsoleOptions": "neverOpen"
Expand All @@ -94,7 +109,7 @@
"request": "launch",
"url": "https://www.office.com/chat?auth=2&${account-hint}",
"presentation": {
"group": "4-M365",
"group": "3-M365",
"order": 4
},
"internalConsoleOptions": "neverOpen"
Expand All @@ -111,10 +126,10 @@
"preLaunchTask": "Start Teams App Locally",
"presentation": {
{{#enableTestToolByDefault}}
"group": "2-local",
"group": "2-Teams",
{{/enableTestToolByDefault}}
{{^enableTestToolByDefault}}
"group": "1-local",
"group": "1-Teams",
{{/enableTestToolByDefault}}
"order": 1
},
Expand All @@ -129,10 +144,10 @@
"preLaunchTask": "Start Teams App Locally",
"presentation": {
{{#enableTestToolByDefault}}
"group": "2-local",
"group": "2-Teams",
{{/enableTestToolByDefault}}
{{^enableTestToolByDefault}}
"group": "1-local",
"group": "1-Teams",
{{/enableTestToolByDefault}}
"order": 2
},
Expand All @@ -145,7 +160,12 @@
],
"preLaunchTask": "Start Teams App in Desktop Client",
"presentation": {
"group": "2-local",
{{#enableTestToolByDefault}}
"group": "2-Teams",
{{/enableTestToolByDefault}}
{{^enableTestToolByDefault}}
"group": "1-Teams",
{{/enableTestToolByDefault}}
"order": 3
},
"stopAll": true
Expand All @@ -169,27 +189,27 @@
{{#CEAEnabled}}
},
{
"name": "Preview in Copilot (Edge)",
"name": "Debug in Copilot (Edge)",
"configurations": [
"Launch Remote in Copilot (Edge)",
"Attach to Local Service"
],
"preLaunchTask": "Start Teams App Locally",
"presentation": {
"group": "4-M365",
"group": "3-M365",
"order": 1
},
"stopAll": true
},
{
"name": "Preview in Copilot (Chrome)",
"name": "Debug in Copilot (Chrome)",
"configurations": [
"Launch Remote in Copilot (Chrome)",
"Attach to Local Service"
],
"preLaunchTask": "Start Teams App Locally",
"presentation": {
"group": "4-M365",
"group": "3-M365",
"order": 2
},
"stopAll": true
Expand Down
60 changes: 40 additions & 20 deletions templates/js/custom-copilot-assistant-new/.vscode/launch.json.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,34 @@
"version": "0.2.0",
"configurations": [
{
"name": "Launch Remote (Edge)",
"name": "Launch Remote in Teams (Edge)",
"type": "msedge",
"request": "launch",
"url": "https://teams.microsoft.com/l/app/${{TEAMS_APP_ID}}?installAppPackage=true&webjoin=true&${account-hint}",
"presentation": {
"group": "3-remote",
"order": 1
{{#enableTestToolByDefault}}
"group": "2-Teams",
{{/enableTestToolByDefault}}
{{^enableTestToolByDefault}}
"group": "1-Teams",
{{/enableTestToolByDefault}}
"order": 4
},
"internalConsoleOptions": "neverOpen"
},
{
"name": "Launch Remote (Chrome)",
"name": "Launch Remote in Teams (Chrome)",
"type": "chrome",
"request": "launch",
"url": "https://teams.microsoft.com/l/app/${{TEAMS_APP_ID}}?installAppPackage=true&webjoin=true&${account-hint}",
"presentation": {
"group": "3-remote",
"order": 2
{{#enableTestToolByDefault}}
"group": "2-Teams",
{{/enableTestToolByDefault}}
{{^enableTestToolByDefault}}
"group": "1-Teams",
{{/enableTestToolByDefault}}
"order": 5
},
"internalConsoleOptions": "neverOpen"
},
Expand Down Expand Up @@ -66,13 +76,18 @@
"internalConsoleOptions": "neverOpen"
},
{
"name": "Launch Remote (Desktop)",
"name": "Launch Remote in Teams (Desktop)",
"type": "node",
"request": "launch",
"preLaunchTask": "Start Teams App in Desktop Client (Remote)",
"presentation": {
"group": "3-remote",
"order": 3
{{#enableTestToolByDefault}}
"group": "2-Teams",
{{/enableTestToolByDefault}}
{{^enableTestToolByDefault}}
"group": "1-Teams",
{{/enableTestToolByDefault}}
"order": 6
},
"internalConsoleOptions": "neverOpen",
{{#CEAEnabled}}
Expand All @@ -83,7 +98,7 @@
"request": "launch",
"url": "https://www.office.com/chat?auth=2&${account-hint}",
"presentation": {
"group": "4-M365",
"group": "3-M365",
"order": 3
},
"internalConsoleOptions": "neverOpen"
Expand All @@ -94,7 +109,7 @@
"request": "launch",
"url": "https://www.office.com/chat?auth=2&${account-hint}",
"presentation": {
"group": "4-M365",
"group": "3-M365",
"order": 4
},
"internalConsoleOptions": "neverOpen"
Expand All @@ -111,10 +126,10 @@
"preLaunchTask": "Start Teams App Locally",
"presentation": {
{{#enableTestToolByDefault}}
"group": "2-local",
"group": "2-Teams",
{{/enableTestToolByDefault}}
{{^enableTestToolByDefault}}
"group": "1-local",
"group": "1-Teams",
{{/enableTestToolByDefault}}
"order": 1
},
Expand All @@ -129,10 +144,10 @@
"preLaunchTask": "Start Teams App Locally",
"presentation": {
{{#enableTestToolByDefault}}
"group": "2-local",
"group": "2-Teams",
{{/enableTestToolByDefault}}
{{^enableTestToolByDefault}}
"group": "1-local",
"group": "1-Teams",
{{/enableTestToolByDefault}}
"order": 2
},
Expand All @@ -145,7 +160,12 @@
],
"preLaunchTask": "Start Teams App in Desktop Client",
"presentation": {
"group": "2-local",
{{#enableTestToolByDefault}}
"group": "2-Teams",
{{/enableTestToolByDefault}}
{{^enableTestToolByDefault}}
"group": "1-Teams",
{{/enableTestToolByDefault}}
"order": 3
},
"stopAll": true
Expand All @@ -169,27 +189,27 @@
{{#CEAEnabled}}
},
{
"name": "Preview in Copilot (Edge)",
"name": "Debug in Copilot (Edge)",
"configurations": [
"Launch Remote in Copilot (Edge)",
"Attach to Local Service"
],
"preLaunchTask": "Start Teams App Locally",
"presentation": {
"group": "4-M365",
"group": "3-M365",
"order": 1
},
"stopAll": true
},
{
"name": "Preview in Copilot (Chrome)",
"name": "Debug in Copilot (Chrome)",
"configurations": [
"Launch Remote in Copilot (Chrome)",
"Attach to Local Service"
],
"preLaunchTask": "Start Teams App Locally",
"presentation": {
"group": "4-M365",
"group": "3-M365",
"order": 2
},
"stopAll": true
Expand Down
Loading

0 comments on commit ee7099d

Please sign in to comment.