How can I see the data that I passed through the following script?
$('#btn_update').click(function(){
$.post("../inc/set_session.php", {
key: "phone_mode",
value: "update"
});
var data = $('addform').serializeArray();
$.post('phones_post.php', data);
});