Enabling ssl debug for java in intellij
<p>Following on from my problem here</p>

<p><a href="https://stackoverflow.com/questions/39259578/javamail-gmail-issue-ready-to-start-tls-then-fails?noredirect=1#comment65860189_39259578">previous issue trying to send java mail via tls/ssl</a></p>

<p>i am now trying to add ssl debugging in Intellij.</p>

<p>In the oracle article it gives an example</p>

<pre><code>    java  -Djavax.net.debug=all  \
    -Djavax.net.ssl.trustStore=trustStore
    SSLSocketClientWithClientAuth bongos 2001 /index.html
</code></pre>

<p>How do i configure my environment for a standalone application which runs via main() method?</p>