-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Settings to enable android native code debugging in vscode
These should be copied to `platforms/android` and then if you open the `build.gradle`, you should be able to connect to a running process and set breakpoints etc
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "android", | ||
"request": "launch", | ||
"name": "Android launch", | ||
"appSrcRoot": "${workspaceRoot}/app/src/main", | ||
"apkFile": "${workspaceRoot}/app/build/outputs/apk/debug/app-debug.apk", | ||
"adbPort": 5037 | ||
}, | ||
{ | ||
"type": "android", | ||
"request": "attach", | ||
"name": "Android attach", | ||
"appSrcRoot": "${workspaceRoot}/app/src/main", | ||
"adbPort": 5037, | ||
"processId": "${command:PickAndroidProcess}" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"java.configuration.updateBuildConfiguration": "interactive" | ||
} |