1 |
|
2 | These examples outline some of the current functionalities of the ipso CLI. I have not mentioned the CLI on the main readme because it is not particularly intended for public consumption just yet. It's functionalities, interface and behaviour will change probably quite drastically as it grows into the tool i intend it to be.
|
3 |
|
4 | Start a [node-inspector](https://github.com/node-inspector/node-inspector) session.
|
5 |
|
6 | ```bash
|
7 |
|
8 | $ ipso
|
9 |
|
10 | ipso: expected directory: ./spec # runs mocha coffee
|
11 | ipso: expected directory: ./src # compiles to lib (see ipso -h)
|
12 | >
|
13 | >
|
14 | > moo
|
15 | { action: 'moo', args: [] }
|
16 | >
|
17 | >
|
18 |
|
19 | #
|
20 | # tab completion on commands and path
|
21 | #
|
22 |
|
23 | >
|
24 | > node-inspect [<web-port>, <debug-port>] <script>
|
25 | > node-inspect 3001 7777 ex
|
26 | > node-inspect 3001 7777 examples/ht
|
27 | > node-inspect 3001 7777 examples/httpserver.js
|
28 | > debugger listening on port 7777
|
29 | > Server running at http://127.0.0.1:1337/
|
30 | > Node Inspector v0.5.0
|
31 | > info: socket.io started
|
32 | > Visit http://127.0.0.1:3001/debug?port=7777 to start debugging.
|
33 | > -------------------------------------
|
34 |
|
35 |
|
36 | ```
|