mirror of
https://github.com/adelphes/android-dev-ext.git
synced 2025-12-25 10:58:42 +00:00
* replace jq-promises with native Promises * updates to use native promises and async await * Fix variable errors, remove extra parameters and correct export declaratons * refactor launch request to use async/await * fix running debugger on custom ADB port * remove unused files * move socket_ended check to ensure we don't loop reading 0 bytes * refactor logcat code and ensure disconnect status is passed on to webview * Fix warnings * Clean up util and remove unused functions * convert Debugger into a class * update jsconfig target to es2018 and enable checkJS * more updates to use async/await and more readable refactoring. - added type definitions and debugger classes - improved expression evaluation - refactored expressions into parsing, evaluation and variable assignment - fixed invoking methods with parameters - added support for static method invokes - improved exception display reliability - refactored launch into smaller functions - refactored utils into smaller modules - removed redundant code - converted JDWP functions to classes * set version 1.0.0 and update dependencies * add changelog notes
42 lines
1.2 KiB
JSON
42 lines
1.2 KiB
JSON
// A launch configuration that launches the extension inside a new window
|
|
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Launch Extension",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
|
|
"stopOnEntry": false,
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
]
|
|
},
|
|
{
|
|
"name": "Server",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"cwd": "${workspaceRoot}",
|
|
"program": "${workspaceRoot}/src/debugMain.js",
|
|
"args": [ "--server=4711" ],
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
]
|
|
},
|
|
{
|
|
"name": "Launch Tests",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/test" ],
|
|
"stopOnEntry": false
|
|
}
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "Extension + Server",
|
|
"configurations": [ "Launch Extension", "Server" ]
|
|
}
|
|
]
|
|
} |