Add logs to document if running in the browser
Add debug target to all
Update doc