Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

640 lines (405 sloc) 40.322 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Out Of Scope</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="Blahg">
<meta property="og:type" content="website">
<meta property="og:title" content="Out Of Scope">
<meta property="og:url" content="http://cgack.github.io/">
<meta property="og:site_name" content="Out Of Scope">
<meta property="og:description" content="Blahg">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Out Of Scope">
<meta name="twitter:description" content="Blahg">
<link rel="alternative" href="/atom.xml" title="Out Of Scope" type="application/atom+xml">
<link rel="icon" href="/favicon.png">
<link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="/css/style.css" type="text/css">
<script>
/* hackish redirect because reasons */
window.location.href = "//cgack.blogspot.com";
</script>
</head>
<body>
<div id="container">
<div id="wrap">
<header id="header">
<div id="banner"></div>
<div id="header-outer" class="outer">
<div id="header-title" class="inner">
<h1 id="logo-wrap">
<a href="/" id="logo">Out Of Scope</a>
</h1>
</div>
<div id="header-inner" class="inner">
<nav id="main-nav">
<a id="main-nav-toggle" class="nav-icon"></a>
<a class="main-nav-link" href="/">Home</a>
<a class="main-nav-link" href="/archives">Archives</a>
</nav>
<nav id="sub-nav">
<a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a>
<a id="nav-search-btn" class="nav-icon" title="Search"></a>
</nav>
<div id="search-form-wrap">
<form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" results="0" class="search-form-input" placeholder="Search"><input type="submit" value="&#xF002;" class="search-form-submit"><input type="hidden" name="q" value="site:http://cgack.github.io"></form>
</div>
</div>
</div>
</header>
<div class="outer">
<section id="main">
<article id="post-jQuery-Mobile" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2014/10/07/jQuery-Mobile/" class="article-date">
<time datetime="2014-10-07T18:26:56.000Z" itemprop="datePublished">Oct 7 2014</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2014/10/07/jQuery-Mobile/">jQuery Mobile</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p>I have been fortunate enough to have the opportunity to speak at several jQuery Conferences in the past two years.<br>The focus of most of my talks, and most of my day-to-day work actually, is based around building mobile web applications<br>with jQuery Mobile and Cordova, two wonderful open source projects. During these conferences I was able to meet<br>and get to know many new friends and fellow developers, including many of the folks on the jQuery team. Eventually,<br>while in Vienna at jQuery Europe I was talking with Alex, the lead of jQuery Mobile and he suggested that I start<br>contributing to the project.</p>
<p>I have been fortunate enough to have an employer who is generous enough to allow my some time to donate to the project<br>and I have been contributing through bug-triage, pull requests, and generally just trying not to get in the way since<br>March of this year. I have already learned a ton and am always encouraged by the support of the jQuery team and the<br>advice they give. </p>
<p>Yesterday - 6 October 2014 - I was officially made a member of the jQuery Team. I am honored to have this opportunity<br>and am excited to join the team of people whom I have come to know over the past two years. I am also pretty excited about the opportunity to continue to do what I have been doing all this year, just now I have access to the GitHub repositories.</p>
</div>
<footer class="article-footer">
<a data-url="http://cgack.github.io/2014/10/07/jQuery-Mobile/" data-id="9qaduq9gxrdkwker" class="article-share-link">Share</a>
</footer>
</div>
</article>
<article id="post-Nodejs-Recipes-Screencast-Edition" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2014/07/09/Nodejs-Recipes-Screencast-Edition/" class="article-date">
<time datetime="2014-07-09T04:00:00.000Z" itemprop="datePublished">Jul 9 2014</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2014/07/09/Nodejs-Recipes-Screencast-Edition/">Node.js Recipes Screencast Edition</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p>Last year, I wrote <a href="http://www.amazon.com/Node-js-Recipes-Problem-Solution-Approach-Development/dp/1430260580" target="_blank" rel="external">Node.js Recipes</a> in a relatively short time span. It was accomplished in something like 120 days, or about 10 days per chapter. This was exhausting and I vowed to my wife that I would not write another book at that pace again.</p>
<p>Then I was tempted. My publisher asked me if I had interest in several titles, and man did I, but after a couple days of deliberating over each one - I could not commit to the time frame.</p>
<p>Then came an introduction from someone within the publisher’s organization that proposed I create a screencast series based upon the book which I had already written. This was something I could get on board with because the material was already written (right?).</p>
<p>So I created a sample video for evaluation and we decided to move forward with another aggressive schedule to record ~6 hours of screencast based upon material in my book.</p>
<p>It turns out this was a pretty agressive and time consuming undertaking as well. Sure the material was already written, but it needed to be reworked into a standard Powerpoint format and of course I would need to be coding most of the stuff I’d already written again. All of this (with the exception of creating some of the powerpoints) was a great time and I enjoyed being able to revisit my book from an angle of a user or reader, rather than an author.</p>
<p>In the end I recorded nearly 12 hours of raw footage for the video which is being post-processed currently and should see release in the near future (no official date that I know of yet - stay tuned for that). The team at Apress has done a fantastic job with the final editing and composition, from what I have seen and I look forward to everyone getting the opportunity to check out the finished product when it is available.</p>
</div>
<footer class="article-footer">
<a data-url="http://cgack.github.io/2014/07/09/Nodejs-Recipes-Screencast-Edition/" data-id="7fhr7qlwu2qcp3gr" class="article-share-link">Share</a>
</footer>
</div>
</article>
<article id="post-jQuery-Conference-Talks" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2014/05/04/jQuery-Conference-Talks/" class="article-date">
<time datetime="2014-05-04T16:26:00.000Z" itemprop="datePublished">May 4 2014</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2014/05/04/jQuery-Conference-Talks/">jQuery Conference Talks</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p>This winter I was fortunate enough to be able to speak at two jQuery events - First in jQuery Conference in San Diego, then in Vienna for jQuery Europe. &nbsp;The traveling is always great, and these events were top notch as far as organization, content, and attendees. I have finally added links to the slides and the video here on my blog.</p>
<p>While I always enjoy attending conferences, these two seemed to be extra engaging in that the attendees I talked with all brought a great deal of encouragement and excitement to continue to share what they know and learn.</p>
<p>I was also able to spend more time with a few of the folks I have met from the jQuery team and really see the vision of where some of the projects are headed. From this, I have even started to spend some time trying to triage and/or fix issues on the jQuery Mobile project.</p>
<p>In any case, here are the <a href="http://presentboldly.com/cgack/unified-widget-theory-jquery-europe" target="_blank" rel="external">slides</a> and video for my presentations about building $.Widgets for both UI and Mobile.</p>
<div class="blazon-iframe-wrapper" style="position: relative; padding-bottom: 58.59375%; padding-top: 40px;"><iframe src="http://presentboldly.com/cgack/unified-widget-theory-jquery-europe/embed" style="position: absolute; left: 0; right: 0; bottom: 0; top: 0; width: 100%; height: 100%;" frameborder="0" allowfullscreen><a href="http://presentboldly.com/cgack/unified-widget-theory-jquery-europe" target="_blank" rel="external">View this presentation on Blazon</a></iframe></div>
</div>
<footer class="article-footer">
<a data-url="http://cgack.github.io/2014/05/04/jQuery-Conference-Talks/" data-id="12eo6ph7n5qnz0wu" class="article-share-link">Share</a>
</footer>
</div>
</article>
<article id="post-Getting-Started-With-Hapi" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2014/05/04/Getting-Started-With-Hapi/" class="article-date">
<time datetime="2014-05-04T04:00:00.000Z" itemprop="datePublished">May 4 2014</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2014/05/04/Getting-Started-With-Hapi/">Getting Started With Hapi</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p>If I were to alter the content of my book <em><a href="www.amazon.com/Node-js-Recipes-A-Problem-Solution-Approach/dp/1430260580">Node.js Recipes</a></em> I would add more great examples of web frameworks. I’ve recently targeted several which I would love to use in upcoming projects. The first one I want to talk about is Hapi.</p>
<p>Hapi is a Node.js web framework that was developed by WalmartLabs/Spumko.</p>
<p>First you need to create a package.json file - <code>npm init</code> can help with this if you do not wish to configure your own.</p>
<pre><code><span class="input"><span class="prompt">$&gt;</span> npm init</span>
</code></pre><p>you will then be walked through the process to generate your package.json file.</p>
<pre><code> {
<span class="string">"name"</span>: <span class="string">"myHapiApp"</span>,
<span class="string">"version"</span>: <span class="string">"0.0.0"</span>,
<span class="string">"description"</span>: <span class="string">"Hapi"</span>,
<span class="string">"main"</span>: <span class="string">"index.js"</span>,
<span class="string">"scripts"</span>: {
<span class="string">"test"</span>: <span class="string">""</span>
},
<span class="string">"author"</span>: <span class="string">"Cory Gackenheimer &lt;c@cgack.com&gt;"</span>,
<span class="string">"license"</span>: <span class="string">"MIT"</span>
}
Is <span class="keyword">this</span> ok? (<span class="literal">yes</span>)
</code></pre><p>next you’ll need it get Hapi this is done with the command:</p>
<pre><code> npm <span class="operator"><span class="keyword">install</span> hapi <span class="comment">--save</span></span>
</code></pre><p>Now you have <code>hapi</code> in your <code>node_modules</code> directory. You now need to create your server. </p>
<pre><code> <span class="keyword">var</span> Hapi = <span class="built_in">require</span>(<span class="string">'hapi'</span>);
<span class="keyword">var</span> server = Hapi.createServer(<span class="string">'localhost'</span>, <span class="number">8080</span>);
server.start();
</code></pre><p>If you are to start this server <code>node .</code> or <code>node index.js</code> and navigate to <code>http://localhost:8080</code> at this point you would get <code>{&quot;statusCode&quot;:404,&quot;error&quot;:&quot;Not Found&quot;}</code> because you have not set up any routing in your server. To add routes you need to use the <code>server.route</code> method. Here I’ll add a route we could use to simulate an API GET request, and the we’ll also see serving files from a static directory.</p>
<pre><code> <span class="keyword">var</span> <span class="type">Hapi</span> = require('hapi');
<span class="keyword">var</span> server = <span class="type">Hapi</span>.createServer('localhost', <span class="number">8080</span>);
server.route({
<span class="keyword">method</span>: '<span class="type">GET</span>',
path: '/api/{path*}',
handler: function(request, reply) {
reply('<span class="type">API</span> request ' + request.url.path);
}
});
server.route({
<span class="keyword">method</span>: '<span class="type">GET</span>',
path: '/{path*}',
handler: {
directory: {
path: './<span class="keyword">static</span>',
index: <span class="literal">true</span>
}
}
});
server.start();
</code></pre><p>Now if you navigate to <code>http://localhost:8080/api/foo</code> you will get a response with that path. If you instead try to hit a static page, i.e. <code>http://localhsot:8080/</code> -&gt; <code>./static/index.html</code> you have set up in your local <code>./static</code> directory you will get that file returned to your web browser .</p>
<p>That is the quick getting started for Hapi if you want to use it to build a web server. I have enjoyed using it and the freedom it allows me to build my applications. I look forward to utilizing it more in future projects.</p>
</div>
<footer class="article-footer">
<a data-url="http://cgack.github.io/2014/05/04/Getting-Started-With-Hapi/" data-id="n84xvnsw5lpybp42" class="article-share-link">Share</a>
</footer>
</div>
</article>
<article id="post-Book-Review-Principles-of-Object-Oriented-JavaScript" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2014/02/24/Book-Review-Principles-of-Object-Oriented-JavaScript/" class="article-date">
<time datetime="2014-02-24T17:25:00.000Z" itemprop="datePublished">Feb 24 2014</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2014/02/24/Book-Review-Principles-of-Object-Oriented-JavaScript/">Book Review: Principles of Object-Oriented JavaScript</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p>I just finished reading another fantastic resource for JavaScript developers <a href="http://www.nostarch.com/oojs" target="_blank" rel="external">“Principles of Object-Oriented JavaScript”</a> written by Nicholas C. Zakas.</p>
<p>Nicholas C. Zakas is an excellent Front-End developer, and what I have always enjoyed about his work, is his ability to clearly articulate his knowledge to developers of all skill levels. Because of this I had high expectations for reading this book. I’m happy to say that this book did not disappoint.</p>
<p>The book, to me, is an reference I will keep with me throughout my JavaScript career, and I’ll recommend it to any developer interested in JavaScript. Targeted toward JavaScript beginners, this book highlights areas that many who are new to JavaScript will likely have to learn the hard way, or discover after they have reached a level of frustration that makes them decide to hate JavaScript forever.</p>
<p>Now, this does not mean that this book contains some secret recipe to JavaScript Zen, but it does provide all the necessary tools for the reader (Seasoned JavaScripter or one who is new JS) to understand how to build great applications with JavaScript. The topics - functions, objects, prototypes, inheritance - are all covered thoroughly through well though out examples which are not too complex for even a new developer to follow. These examples and explanations are accompanied with wonderful notes and snippets that signal the voice of the seasoned JavaScript professional that Nicholas C. Zakas is. As I wrote above, I definitely recommend this book.</p>
</div>
<footer class="article-footer">
<a data-url="http://cgack.github.io/2014/02/24/Book-Review-Principles-of-Object-Oriented-JavaScript/" data-id="vcouwtd023vyoyuo" class="article-share-link">Share</a>
</footer>
</div>
</article>
<article id="post-Screencast-Debugging-in-Chrome" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2013/11/27/Screencast-Debugging-in-Chrome/" class="article-date">
<time datetime="2013-11-27T17:24:00.000Z" itemprop="datePublished">Nov 27 2013</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2013/11/27/Screencast-Debugging-in-Chrome/">Screencast Debugging in Chrome</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p>Remote debugging a few years ago was just a fledgling idea for most. WEINRE was leading the way with its remote access to mobile devices and worked well enough. In recent posts I have mentioned some improvements across various browsers and new tools that work well for developing and debugging on a mobile device. This area of developer tooling is continually improving and is becoming a more natural fit into a developers workflow.</p>
<p>One of the most recent advancements in remote debugging was announced in early October of this year, but I do not think that until the Chrome Dev Summit in November was it really noticed by a larger audience. This new tool allows you to connect your Android device running Chrome to your computer, Inspect it in dev tools and the chrome experience from the mobile device will be mirrored within the dev tools itself.</p>
<p>To do this, ensure USB debugging is enabled on your device and connect it to your computer. Then on a dev-tools experiments enabled computer navigate to chrome://inspect. You will see your device with any open Chrome tabs listed on this page.<br>{<1>}<img src="/content/images/2013/Nov/Screen_Shot_2013_11_29_at_8_20_27_AM-1.png" alt=""><br>now you will see the inspect link. You should click this and you will get your dev tools open. From here there is a little image that looks like a mobile device (blue in the image below) which will toggle the screencast.<br>{<2>}<img src="/content/images/2013/Nov/Screen_Shot_2013_11_29_at_8_28_10_AM.png" alt="Little Blue Phone"><br>Click that and you can now see the screencast of your mobile Chrome experience.<br>{<3>}<img src="/content/images/2013/Nov/Screen_Shot_2013_11_29_at_8_24_19_AM.png" alt="Fixie Image"></3></2></1></p>
<p>Happy Debugging.</p>
</div>
<footer class="article-footer">
<a data-url="http://cgack.github.io/2013/11/27/Screencast-Debugging-in-Chrome/" data-id="636jrz43598fg5um" class="article-share-link">Share</a>
</footer>
</div>
</article>
<article id="post-Nodejs-Recipes" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2013/09/24/Nodejs-Recipes/" class="article-date">
<time datetime="2013-09-24T16:21:00.000Z" itemprop="datePublished">Sep 24 2013</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2013/09/24/Nodejs-Recipes/">Node.js Recipes</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p>It started when I favorited a <a href="https://twitter.com/LouiseEditor/status/303800949057675265" target="_blank" rel="external">tweet</a> in February in which a request was being made for some help updating a JavaScript book. I had recently spent some time contributing to a jQuery Mobile book and wanted to continue writing. Shortly after I contacted Louise (my editor) and it turns out that they had already found someone to update the book…..</p>
<p>It turns out that Louise had some plans for a Node.js Recipes book, which I thought would be spectacular so I set to work writing an outline and proposal for the book.</p>
<p>After a few weeks I had the proposal in hand, sent it to the publisher and it was approved. This is where things get crazy, because I now had to write the twelve chapters I’d outlined and I had less than two weeks to write each one if I was to make my deadline.</p>
<p>This crazy schedule, while good at keeping me on task, was not great at keeping me rested and stress free. There were many late nights and long weekends where I was not able to spend quality time with my family or friends. I am grateful that they allowed me time to research and write, because I was able to create a book which I feel will be a useful tool for any developer who wants to learn more about Node.js. It will give readers a glimpse of what goes on in Node.js not only in the Core, but also in the third-party modules that have helped to create the robust Node.js ecosystem. </p>
<p>If you are interested in getting to know Node.js better, or if you would just like to buy an amazing book for your coffee table or library, please buy the book.</p>
<p><a href="http://www.amazon.com/Node-js-Recipes-A-Problem-Solution-Approach/dp/1430260580/" target="_blank" rel="external">http://www.amazon.com/Node-js-Recipes-A-Problem-Solution-Approach/dp/1430260580/</a></p>
<p><a href="http://www.apress.com/9781430260585" target="_blank" rel="external">http://www.apress.com/9781430260585</a></p>
<p>{<1>}<img src="http://ecx.images-amazon.com/images/I/81ohl3uB31L._SL1500_.jpg" alt="Node.js Recipes"></1></p>
</div>
<footer class="article-footer">
<a data-url="http://cgack.github.io/2013/09/24/Nodejs-Recipes/" data-id="yi0lqko08goh8rbm" class="article-share-link">Share</a>
</footer>
</div>
</article>
<article id="post-FirefoxOS-Apps" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2013/09/24/FirefoxOS-Apps/" class="article-date">
<time datetime="2013-09-24T16:20:00.000Z" itemprop="datePublished">Sep 24 2013</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2013/09/24/FirefoxOS-Apps/">FirefoxOS Apps</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p>A few weeks ago Mozilla <a href="https://hacks.mozilla.org/2013/09/calling-all-app-ports/" target="_blank" rel="external">announced</a> another initiative to get some more applications into the FirefoxOS Marketplace.</p>
<p>I had submitted a simple compass application early on in the Marketplace’s life, but thought that this opportunity would be perfect to get an PhoneGap wrapped HTML application that I created for Android onto the marketplace, so I applied for a phone for app port deal. Within a couple days I recieved confirmation that I would be getting a developer preview phone from Mozilla, in exchange for my app port.</p>
<p>Now, I could have waited around until I received the phone to get started working, but with the FirefoxOS simulator available as a Firefox Add-On I set to work right away. I had previously submitted an application so I knew the general Firefox manifest format which is probably helpful. Once I had a Firefox app manifest being served (with the proper MIME type) from AppEngine I was ready to submit. I did however wait until I had a physical device to test and ensure it appeared and functioned as I expected. </p>
</div>
<footer class="article-footer">
<a data-url="http://cgack.github.io/2013/09/24/FirefoxOS-Apps/" data-id="ctnq8kuboxqbkrcz" class="article-share-link">Share</a>
</footer>
</div>
</article>
<article id="post-Busy-Times" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2013/08/28/Busy-Times/" class="article-date">
<time datetime="2013-08-28T16:17:00.000Z" itemprop="datePublished">Aug 28 2013</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2013/08/28/Busy-Times/">Busy Times</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p>I have had a busy time over that last few months. Firstly, I have been engaged in a very ambitious and exciting project for my day job.</p>
<p>Aside from this keeping me busy, I also had a talk accepted for the jQuery Conference in Portland in June. This was my first talk at a big technology conference but I think it went well and I hope to do it again.</p>
<iframe width="560" height="315" src="//www.youtube.com/embed/u4whslyzUEw" frameborder="0" allowfullscreen></iframe>
<p>If you listened to at least the beginning of that talk, you may have heard me mention that I’ve been writing a book. This book has been a great deal of fun, but has also been challenging. Between research, writing code, writing text, editing, and following up with the technical reviewer it has kept me busy. It should be published this fall so stay tuned…</p>
<p><a href="http://www.apress.com/9781430260585" target="_blank" rel="external">http://www.apress.com/9781430260585</a> </p>
</div>
<footer class="article-footer">
<a data-url="http://cgack.github.io/2013/08/28/Busy-Times/" data-id="6812f9qt3bv1mz5u" class="article-share-link">Share</a>
</footer>
</div>
</article>
<article id="post-remote-debugging-revisited" class="article article-type-post" itemscope itemprop="blogPost">
<div class="article-meta">
<a href="/2013/03/16/remote-debugging-revisited/" class="article-date">
<time datetime="2013-03-16T20:31:00.000Z" itemprop="datePublished">Mar 16 2013</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="article-title" href="/2013/03/16/remote-debugging-revisited/">Remote Debugging Revisited</a>
</h1>
</header>
<div class="article-entry" itemprop="articleBody">
<p>A little less than a year ago, I <a href="http://cgack.com/blog/2012/05/remote-debugging-tools/" target="_blank" rel="external">wrote a post</a> about remote debugging tools. Since that time the landscape has changed, so this post will try update where we are in the world of remote debugging. (Note: by ‘we’, I mean me, and by ‘world’ I really mean, what I’ve used since last year)</p>
<p>First, lets review where we were a year ago. Chrome for Android was brand new, and had remote debugging support baked in. Opera Dragonfly had great remote debugging support. Adobe Shadow (now Edge Inspect) was new, and WEINRE was still a .jar. </p>
<p>Fast forward to now. Chrome for Android still has great remote debugging support, when connected you can see all your inspectable tabs from your remote device, and debug away. In Opera land, things have shifted a bit. Since they have started their switch to Webkit, who knows where their remote debugger will be in another year. Adobe Edge Inspect is a very popular debugging toolset for iOS and Android. Weinre is now (debatably) more accessible as a Node.js server, making it super easy to install and run a local/or remote hosted server. Weinre powers the <a href="http://debug.phonegap.com" target="_blank" rel="external">phonegap debug service</a> . It is also the service behind the experimental mobile debugging option at <a href="http://jsfiddle.net" target="_blank" rel="external">jsfiddle.net</a>. </p>
<p>The newest version of jsbin.com has a pretty incredible remote rendering capability, but you can see for yourself on youtube: <iframe width="560" height="315" src="http://www.youtube.com/embed/nXeGK1i-YgQ?list=PLXmT1r4krsTooRDWOrIu23P3SEZ3luIUq" frameborder="0" allowfullscreen></iframe> </p>
<p>Over the course of the last year, Firefox has built a homegrown set of Developer tools, so developers need not rely soley on Firebug on Firefox. These tools have been built with remote debugging as a high priority - with the proliferation of Firefox on Android, and the fancy new Firefox OS - remote debugging is important. Remote debugging for Firefox has been around for a few versions, but I really like to live on the nightly branch (currently 22.0a1), so thats what you’ll see here. Its quite simple to enable on your computer: just swing over to ‘about:config’ and toggle ‘devtools.debugger.remote-enabled’ to ‘true’ restart, and you are set. </p>
<p><img src="../images/about_config_remote.png" alt="about config setup"></p>
<p>Next (assuming you’ve got your android platform-tools installed) you simply connect your device to your computer and<br> adb forward tcp:6000 tcp:6000</p>
<p>Then, assuming you have enabled remote debugging on your Android device, you again go to ‘about:config’ and toggle the ‘devtools.debugger.force-local’ to ‘false’ and ‘devtools.debugger.remote-enabled’ to ‘true’.</p>
<p><img src="../images/about_config_android.png" alt="about config android"></p>
<p>Restart. Debug. To Debug you open the remote console by selecting ‘Connect…’ from the Tools &gt; Web Developer menu. Thats it.</p>
<p>Remote debugging is important. And as the web development industry moves more toward mobile, these tools need to and will get better and more accessible for everyone. I expect I’ll be revisiting this topic again soon as tools improve or emerge.</p>
</div>
<footer class="article-footer">
<a data-url="http://cgack.github.io/2013/03/16/remote-debugging-revisited/" data-id="lb7ki8yjwinb9qfn" class="article-share-link">Share</a>
</footer>
</div>
</article>
<nav id="page-nav">
<span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><span class="space">&hellip;</span><a class="page-number" href="/page/5/">5</a><a class="extend next" rel="next" href="/page/2/">Next &raquo;</a>
</nav>
</section>
<aside id="sidebar">
<div class="widget-wrap">
<h3 class="widget-title">Tags</h3>
<div class="widget">
<ul class="tag-list"><li class="tag-list-item"><a class="tag-list-link" href="/tags/3G/">3G</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/IDE/">IDE</a><span class="tag-list-count">5</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/JavaScript/">JavaScript</a><span class="tag-list-count">7</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/aviary/">aviary</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/chrome-os/">chrome os</a><span class="tag-list-count">11</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/cloud/">cloud</a><span class="tag-list-count">7</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/coding/">coding</a><span class="tag-list-count">6</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/cr-48/">cr-48</a><span class="tag-list-count">3</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/css/">css</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/dev-tools/">dev tools</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/google/">google</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/html5/">html5</a><span class="tag-list-count">2</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/verizon/">verizon</a><span class="tag-list-count">1</span></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/wi-fi/">wi-fi</a><span class="tag-list-count">1</span></li></ul>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">Tag Cloud</h3>
<div class="widget tagcloud">
<a href="/tags/3G/" style="font-size: 10.00px;">3G</a><a href="/tags/IDE/" style="font-size: 15.00px;">IDE</a><a href="/tags/JavaScript/" style="font-size: 18.33px;">JavaScript</a><a href="/tags/aviary/" style="font-size: 10.00px;">aviary</a><a href="/tags/chrome-os/" style="font-size: 20.00px;">chrome os</a><a href="/tags/cloud/" style="font-size: 18.33px;">cloud</a><a href="/tags/coding/" style="font-size: 16.67px;">coding</a><a href="/tags/cr-48/" style="font-size: 13.33px;">cr-48</a><a href="/tags/css/" style="font-size: 10.00px;">css</a><a href="/tags/dev-tools/" style="font-size: 11.67px;">dev tools</a><a href="/tags/google/" style="font-size: 10.00px;">google</a><a href="/tags/html5/" style="font-size: 11.67px;">html5</a><a href="/tags/verizon/" style="font-size: 10.00px;">verizon</a><a href="/tags/wi-fi/" style="font-size: 10.00px;">wi-fi</a>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">Archives</h3>
<div class="widget">
<ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/10">October 2014</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/07">July 2014</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/05">May 2014</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/02">February 2014</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/11">November 2013</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/09">September 2013</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/08">August 2013</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/03">March 2013</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/01">January 2013</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/12">December 2012</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/11">November 2012</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/10">October 2012</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/08">August 2012</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/07">July 2012</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/05">May 2012</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/01">January 2012</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2011/12">December 2011</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2011/11">November 2011</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2011/10">October 2011</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2011/09">September 2011</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2011/08">August 2011</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2011/07">July 2011</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2011/06">June 2011</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2011/05">May 2011</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2011/04">April 2011</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2011/03">March 2011</a><span class="archive-list-count">6</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2011/02">February 2011</a><span class="archive-list-count">6</span></li></ul>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">Recents</h3>
<div class="widget">
<ul>
<li>
<a href="/2014/10/07/jQuery-Mobile/">jQuery Mobile</a>
</li>
<li>
<a href="/2014/07/09/Nodejs-Recipes-Screencast-Edition/">Node.js Recipes Screencast Edition</a>
</li>
<li>
<a href="/2014/05/04/jQuery-Conference-Talks/">jQuery Conference Talks</a>
</li>
<li>
<a href="/2014/05/04/Getting-Started-With-Hapi/">Getting Started With Hapi</a>
</li>
<li>
<a href="/2014/02/24/Book-Review-Principles-of-Object-Oriented-JavaScript/">Book Review: Principles of Object-Oriented JavaScript</a>
</li>
</ul>
</div>
</div>
</aside>
</div>
<footer id="footer">
<div class="outer">
<div id="footer-info" class="inner">
&copy; 2014 Cory Gackenheimer<br>
Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>
</div>
</div>
</footer>
</div>
<nav id="mobile-nav">
<a href="/" class="mobile-nav-link">Home</a>
<a href="/archives" class="mobile-nav-link">Archives</a>
</nav>
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<link rel="stylesheet" href="/fancybox/jquery.fancybox.css" type="text/css">
<script src="/fancybox/jquery.fancybox.pack.js" type="text/javascript"></script>
<script src="/js/script.js" type="text/javascript"></script>
</div>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.