File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,11 @@ const { execSync } = require("child_process");
33const path = require ( "path" ) ;
44
55try {
6- execSync ( `node --inspect ${ path . join ( __dirname , "../src/index.js" ) } ` , {
6+ const main = path . join ( __dirname , "../src/index.js" ) ;
7+ const argv = process . argv . slice ( 2 ) . join ( ' ' ) ;
8+ execSync ( `node --inspect ${ main } ${ argv } ` , {
79 stdio : "inherit" ,
810 } ) ;
9- } catch ( error ) {
11+ } catch ( error ) {
1012 process . exit ( 1 ) ;
1113}
Original file line number Diff line number Diff line change 11{
22 "name" : " logcat-in-devtools" ,
3- "version" : " 0.1.5 " ,
3+ "version" : " 0.1.6 " ,
44 "description" : " View android adb logcat logs in chrome devtools console" ,
55 "homepage" : " https://github.com/nieheyong/logcat-in-devtools.git" ,
66 "repository" : {
You can’t perform that action at this time.
0 commit comments