snippetjournal

– notes, snippet codes, and my journal

Remote Debugger – Attach Debuger Di Nebeans 7.x

leave a comment »

Masuk ke services dialog atau window konfigurasi dari tomcat, services dialog (ctrl + 5),  klik kanan pilih properties.

pada VM Options tambahkan debugger paramater :

-Xdebug -Xrunjdwp:transport=dt_socket,address=7951,server=y,suspend=n

nilai dari “address” adalah port dimana tomcat akan “listening”

run atau deploy project mu, jika sukses di output terminal akan terlihat :

Listening for transport dt_socket at address: 7951

agar bisa netbeans bisa terkoneksi pada debugger klik Debug – Attach Debugger. Isi port number sesuai pada paramater debugger sebelum nya.

Written by snippetjournal

May 29, 2013 at 9:23 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: