forked from alesimula/wsa_pacman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlaunch.json
112 lines (98 loc) · 5.12 KB
/
launch.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"configurations": [
{
"name": "Disable null-safety",
"type": "dart",
"request": "launch",
"program": "lib/main.dart",
// Any custom environment variables to set when running the app with this
// launch config.
"env": {
"RELEASE_MODE": false
},
// Arguments to be passed to the Dart or Flutter app.
"args": [
"--no-sound-null-safety"
],
// "debugConsole" or "terminal". If set to "terminal", will run in the built-in
// terminal and will support reading from `stdin`. However some other debug
// features may be limited.
"console": "debugConsole",
// Set to run a Flutter app on a specific device, ignoring the device selected
// in the status bar.
"deviceId": "windows",
// "debug", "profile" or "release".
"flutterMode": "profile",
// Allows running Flutter tests on a real device instead of the default headless
// flutter-tester device.
"runTestsOnDevice": false,
// If codeLens is defined, this launch configuration can be launched from custom
// CodeLens links in the editor (see the page linked above for more info).
"codeLens": {
// This array sets where custom CodeLens links will be rendered:
// - run-test: Above test functions as a Run link
// - debug-test: Above test functions as a Debug link
// - run-test-file: Above main functions in test files as a Run link
// - debug-test-file: Above main functions in test files as a Debug link
// - run-file: Above main functions in bin/tool/lib files as a Run link
// - debug-file: Above main functions in bin/tool/lib files as a Debug link
"for": [ "run-test", "run-test-file", "debug-test", "debug-test-file" ],
// If specificed, the custom CodeLens will only appear for files that begin
// with this path.
"path": "test/integration_tests",
// Text for the custom CodeLens. If not specified, will use the name field
// from the parent launch configuration. The string "${debugType}" here will
// be replaced with "run" or "debug" depending on the rendered position
// (see the for field above).
"title": "${debugType} (release)"
},
},
{
"name": "Release build",
"type": "dart",
"request": "launch",
"program": "lib/main.dart",
// Any custom environment variables to set when running the app with this
// launch config.
"env": {
"RELEASE_MODE": true
},
// Arguments to be passed to the Dart or Flutter app.
"args": [
//"--no-sound-null-safety"
],
// "debugConsole" or "terminal". If set to "terminal", will run in the built-in
// terminal and will support reading from `stdin`. However some other debug
// features may be limited.
"console": "debugConsole",
// Set to run a Flutter app on a specific device, ignoring the device selected
// in the status bar.
"deviceId": "windows",
// "debug", "profile" or "release".
"flutterMode": "release",
// Allows running Flutter tests on a real device instead of the default headless
// flutter-tester device.
"runTestsOnDevice": false,
// If codeLens is defined, this launch configuration can be launched from custom
// CodeLens links in the editor (see the page linked above for more info).
"codeLens": {
// This array sets where custom CodeLens links will be rendered:
// - run-test: Above test functions as a Run link
// - debug-test: Above test functions as a Debug link
// - run-test-file: Above main functions in test files as a Run link
// - debug-test-file: Above main functions in test files as a Debug link
// - run-file: Above main functions in bin/tool/lib files as a Run link
// - debug-file: Above main functions in bin/tool/lib files as a Debug link
"for": [ "run-test", "run-test-file", "debug-test", "debug-test-file" ],
// If specificed, the custom CodeLens will only appear for files that begin
// with this path.
"path": "test/integration_tests",
// Text for the custom CodeLens. If not specified, will use the name field
// from the parent launch configuration. The string "${debugType}" here will
// be replaced with "run" or "debug" depending on the rendered position
// (see the for field above).
"title": "${debugType} (release)"
},
}
]
}