增加一些debug相关的task
This commit is contained in:
parent
60d1e913c5
commit
75303bcf61
26
.vscode/tasks.json
vendored
26
.vscode/tasks.json
vendored
@ -66,6 +66,32 @@
|
|||||||
"presentation": {
|
"presentation": {
|
||||||
"reveal": "always"
|
"reveal": "always"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "RunDebugApp",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "adb shell am start com.cege.games.release/.MainActivity",
|
||||||
|
"windows": {
|
||||||
|
"command": "adb shell am start com.cege.games.release/.MainActivity "
|
||||||
|
},
|
||||||
|
"group": "test",
|
||||||
|
"presentation": {
|
||||||
|
"reveal": "always"
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ShowDebugLogcat",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "adb logcat --pid=`adb shell ps | grep com.cege.games.release | awk '{print $2}'`",
|
||||||
|
"group": "test",
|
||||||
|
"presentation": {
|
||||||
|
"reveal": "always"
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Build&Run",
|
||||||
|
"dependsOrder": "sequence",
|
||||||
|
"dependsOn": ["BuildDebugApp", "InstallDebugApp", "RunDebugApp", "ShowDebugLogcat"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user