Skip to content

Commit 756d684

Browse files
committed
Add configurationSnippets
1 parent 3a3cbde commit 756d684

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

package.json

+54
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,60 @@
152152
"watch": false
153153
}
154154
],
155+
"configurationSnippets": [
156+
{
157+
"label": "NativeScript: Launch on iOS",
158+
"description": "A configuration for launching an app on iOS device/emulator",
159+
"body": {
160+
"name": "Launch on iOS",
161+
"type": "nativescript",
162+
"request": "launch",
163+
"platform": "ios",
164+
"appRoot": "^\"\\${workspaceRoot}\"",
165+
"sourceMaps": true,
166+
"watch": true
167+
}
168+
},
169+
{
170+
"label": "NativeScript: Launch on Android",
171+
"description": "A configuration for launching an app on Android device/emulator",
172+
"body": {
173+
"name": "Launch on Android",
174+
"type": "nativescript",
175+
"request": "launch",
176+
"platform": "android",
177+
"appRoot": "^\"\\${workspaceRoot}\"",
178+
"sourceMaps": true,
179+
"watch": true
180+
}
181+
},
182+
{
183+
"label": "NativeScript: Attach on iOS",
184+
"description": "A configuration for attaching to an already running iOS app",
185+
"body": {
186+
"name": "Attach on iOS",
187+
"type": "nativescript",
188+
"request": "attach",
189+
"platform": "ios",
190+
"appRoot": "^\"\\${workspaceRoot}\"",
191+
"sourceMaps": true,
192+
"watch": false
193+
}
194+
},
195+
{
196+
"label": "NativeScript: Attach on Android",
197+
"description": "A configuration for attaching to an already running Android app",
198+
"body": {
199+
"name": "Attach on Android",
200+
"type": "nativescript",
201+
"request": "attach",
202+
"platform": "android",
203+
"appRoot": "^\"\\${workspaceRoot}\"",
204+
"sourceMaps": true,
205+
"watch": false
206+
}
207+
}
208+
],
155209
"configurationAttributes": {
156210
"launch": {
157211
"required": [],

0 commit comments

Comments
 (0)