Sha256: 2baad2437e5ab1fb31e74c03cfcd57d0951336e48ee895a210d0bd0f32b24ac0

Contents?: true

Size: 715 Bytes

Versions: 13

Compression:

Stored size: 715 Bytes

Contents

# Tips for debugging

## Debugging with source code

First, clone the git repository:

    git clone https://github.com/laurilehmijoki/s3_website.git /tmp/s3_website

Next, edit a source file.

For example, you can change the AWS logging level in the
[src/main/resources/log4j.properties](https://github.com/laurilehmijoki/s3_website/blob/master/src/main/resources/log4j.properties) file. See [AWS SDK for Java docs](http://docs.aws.amazon.com/AWSSdkDocsJava/latest/DeveloperGuide/java-dg-logging.html).

Another example: modify a `.scala` file by adding a `print()` statement into a
relevant location.

Then push your website with the cloned code:

    cd YOUR_WEBSITE_DIR
    /tmp/s3_website/bin/s3_website push

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
s3_website-3.4.0 additional-docs/debugging.md
s3_website-3.3.0 additional-docs/debugging.md
s3_website-3.2.0 additional-docs/debugging.md
s3_website-3.1.0 additional-docs/debugging.md
s3_website-3.0.0 additional-docs/debugging.md
s3_website-2.16.0 additional-docs/debugging.md
s3_website-2.15.1 additional-docs/debugging.md
s3_website-2.15.0 additional-docs/debugging.md
s3_website-2.14.3 additional-docs/debugging.md
s3_website-2.14.2 additional-docs/debugging.md
s3_website-2.14.1 additional-docs/debugging.md
s3_website-2.14.0 additional-docs/debugging.md
s3_website-2.13.0 additional-docs/debugging.md