Start node with console:

$ ./target/debug/starcoin -d ~/.starcoin -n dev console

In console type:

starcoin% dev log level debug

Note: starcoin% is the prompt.

Then we can see debug log in ~/.starcoin/dev/starcoin.log.