debug: Start Zotonic in the foreground with an Erlang shell

Start Zotonic in the foreground with an Erlang shell.

Syntax

bin/zotonic debug 

Requirements and effects

Starts a node using the selected configuration; use it when that node is not already running.

Keep the terminal open while developing and read startup errors there. For a node that is already running, use shell instead. The foreground shell belongs to the running VM; commands that terminate that VM also stop the sites it hosts.

Example

bin/zotonic debug

Run commands from the Zotonic workspace root. Replace garden with your site name where applicable.