1.3.5 • Published 6 years ago

weex-debugger v1.3.5

Weekly downloads
101
License
MIT
Repository
github
Last release
6 years ago

Weex-debugger

Build Status dependcy dev dependcy

Weex-debugger is a Weex developer tool for debugging weex app with chrome devtool, it's an upgraded version of weex-devtool.

The weex-debugger works as a debugging server, it cooperates with the inspect modules on Android and iOS to help user to inspect/debug weex source codes and project.

New Features

  • Added weex performance analysis tools,only supports sdk version higher than 0.17.0.
  • Merge debug logs from debugger and inspector.
  • Using the server headless provides weex execution environment.
  • Support for simple i18n.

Install

$npm install -g weex-toolkit

We advise you to use weex-toolkit which will call weex-devtool.

usage

$ weex debug [options] [vue_file|bundles_dir]
OptionsDescription
-v, --versiondisplay version
-h, --helpdisplay help
-V, --verbosedisplay logs of debugger server
-p, --port portset debugger server port
-m, --manualmanual mode,this mode will not auto open chrome
-H --host hostset the host ip of debugger server
--debugset log level to debug mode
--loglevel loglevelset log level silenterrorwarninfologdebug
--remotedebugportset the remote debug port
--minminimize the jsbundle

start debugger

$ weex debug

NOTE: Since weex-toolkit@1.1.0, weex debug command have been replace with weex-debugger, you can start weex-debugger just using weex debug command, if you want to use weex-debugger below weex-toolkit@1.1.0, you can binding command using weex xbind [command] weex-debugger to binding command into your weex-toolkit.

This command will start debug server and launch a chrome opening DeviceList page. this page will display a QR code, you can use Playground scan it for starting debug or integrate Weex devtools(#Integrate devtool) into your application.

debug with .vue file
$ weex debug your_weex.vue

This command will compile your_weex.vue to your_weex.js and start the debug server as upon command. your_weex.js will be deployed on the server and displayed on the debug page, using another QR code for debugging your_weex.js file.

start debugger with a directory of vue files
$weex debug your/vue/path  -e index.vue

This command will compile each of the files in your/vue/path and deploy them on the bundled server with the new file mapped to the path http://localhost:port/weex/.

How to access devtools in native

Release Note

CHANGELOG.md

1.3.5

6 years ago

1.3.4

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.9

6 years ago

1.2.8

6 years ago

1.2.7-beta.1

7 years ago

1.2.6

7 years ago

1.2.5

7 years ago

1.2.4

7 years ago

1.2.3

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.19

7 years ago

1.1.18

7 years ago

1.1.17

7 years ago

1.1.16

7 years ago

1.1.15

7 years ago

1.1.14

7 years ago

1.1.13

7 years ago

1.0.11-youku.10

7 years ago

1.1.12

7 years ago

1.1.11

7 years ago

1.1.10

7 years ago

1.1.9

7 years ago

1.1.8

7 years ago

1.1.7

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.28

7 years ago

1.0.27

7 years ago

1.0.26

7 years ago

1.0.25

7 years ago

1.0.24

7 years ago

1.0.23

7 years ago

1.0.22

7 years ago

1.0.21

7 years ago

1.0.20

7 years ago

1.0.20-beta.1

7 years ago

1.0.20-beta.0

7 years ago

1.0.19

7 years ago

1.0.18

7 years ago

1.0.17

7 years ago

1.0.16

7 years ago

1.0.11-youku.9

7 years ago

1.0.15

7 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.11-youku.8

7 years ago

1.0.11-youku.7

7 years ago

1.0.11-youku.6

7 years ago

1.0.11-youku.5

7 years ago

1.0.11-youku.4

7 years ago

1.0.12

7 years ago

1.0.11-youku.3

7 years ago

1.0.11-youku.2

7 years ago

1.0.11-youku.1

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

1.0.0-rc.40

7 years ago

1.0.0-rc.39

7 years ago

1.0.0-rc.38

7 years ago

1.0.0-rc.37

7 years ago

1.0.0-rc.36

7 years ago

1.0.0-rc.35

7 years ago

1.0.0-rc.34

7 years ago

1.0.0-rc.33

7 years ago

1.0.0-rc.32

8 years ago

1.0.0-rc.31

8 years ago

1.0.0-rc.30

8 years ago

1.0.0-rc.29

8 years ago

1.0.0-rc.28

8 years ago

1.0.0-rc.27

8 years ago

1.0.0-rc.26

8 years ago

1.0.0-rc.25

8 years ago

1.0.0-rc.24

8 years ago

1.0.0-rc.23

8 years ago

1.0.0-rc.22

8 years ago

1.0.0-rc.21

8 years ago

1.0.0-rc.20

8 years ago

1.0.0-rc.19

8 years ago

1.0.0-rc.18

8 years ago

1.0.0-rc.17

8 years ago

1.0.0-rc.16

8 years ago

1.0.0-rc.15

8 years ago

1.0.0-rc.14

8 years ago

1.0.0-rc.13

8 years ago

1.0.0-rc.12

8 years ago

1.0.0-rc.11

8 years ago

1.0.0-rc.10

8 years ago

1.0.0-rc.9

8 years ago

1.0.0-rc.8

8 years ago

1.0.0-rc.7

8 years ago

1.0.0-rc.6

8 years ago

1.0.0-rc.5

8 years ago

1.0.0-yk.3

8 years ago

1.0.0-yk.2

8 years ago

1.0.0-yk.1

8 years ago

1.0.0-rc.4

8 years ago

1.0.0-rc.3

8 years ago

1.0.0-rc.2

8 years ago

1.0.0-beta.4

8 years ago

1.0.0-beta.3

8 years ago

1.0.0-beta.2

8 years ago

1.0.0-beta.1

8 years ago

1.0.0-beta

8 years ago

1.0.0-alpha.3

8 years ago

1.0.0-alpha.2

8 years ago

1.0.0-alpha.1

8 years ago

1.0.0-alpha

8 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago