JSFoo 2015

The future of JavaScript

JSFoo is India’s premier JavaScript conference. This year is the fifth edition.

The theme for the 2015 edition is the future of JavaScript.

We are looking for talks and workshops from academics and practitioners who are at the cutting edge of developments in JavaScript.

We want to hear all about:

  • Advances in browser JavaScript
  • JavaScript in hardware
  • Functional JavaScript
  • Cutting edge developments, including original work
  • ES6

Editorial panel

  • Santosh Rajan, founder Geekskool
  • Shwetank Dixit, Extensions Program Manager and Web Evangelist, Opera Software
  • Sindhu S, Recurse Center alumni
  • Zainab Bawa, editorial coordinator, co-founder at HasGeek

Commitment to Open Source

HasGeek believes in open source as the binding force of our community. If you are describing a codebase for developers to work with, we’d like it to be available under a permissive open source license. If your software is commercially licensed or available under a combination of commercial and restrictive open source licenses (such as the various forms of the GPL), please consider picking up a sponsorship. We recognize that there are valid reasons for commercial licensing, but ask that you support us in return for giving you an audience. Your session will be marked on the schedule as a sponsored session.

Workshops

If you are interested in conducting a hands-on session on any of the topics falling under the themes described above, please submit a proposal under the workshops section. We also need you to tell us about your past experience in teaching and/or conducting workshops.

BOF sessions

If you are interested in doing an unconference during the breakout sessions, propose a topic which will be of interest to the community.

Important dates:

Deadline for submitting proposals: 31 July 2015
Conference dates: 18-19 September
Workshops: 15, 16, 17 and 20 September

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more

Pankaj Malhotra

@bitgeekypankaj

Debugging Javascript on Mobile Browsers

Submitted Jul 30, 2015

There has been a tremendous and rapid increase in the percentage of users accessing internet over smartphones in a past couple of years and some studies say that by 2016 around 2 billion users will be accessing the web on their mobile phones.

We realize that mobile is future, but the point is it effects the future of Javascript and JS Developers also.

With new platform comes more challenging problems. Especially for developers, its a challenge how to debug their Javascript code on mobile browsers, and be more productive.

The talk aims to answer some of the questions and introduce tools to debug Javascript on mobile platform.

  1. Introduce Javascipt debugging tools for mobile browsers. Live Demo of various tools like Weinre, Vorlon and JSConsole. Discuss their advantages and limitations.
  2. Compare remote debugging protocol with JS Injection techniques.
  3. Demonstrate tools like Valence + WebIDE and Chrome DevTools built over remote debugging protocol.
  4. Discuss how Chrome DevTools can be extracted out of the Blink source and deployed locally for JS Debugging.
  5. JS debugging solution for mobile browsers located remotely.

Outline

If you have been developing applications for Mobile platform, you would know what a nightmare it can be sometimes to debug Javascript mainly because of platform dependency of debugging tools. There aren’t any direct debugging tools within mobile browsers as they exist for Desktop browsers. Most of the times the tools are built over remote debugging protocol which communicates with the browser within mobile.

The questions which arise are ?

  1. Does each mobile browser has Debugging Tools like desktop browsers ?
  2. Is there anything that works for all mobile browsers ?
  3. Don’t have direct access to Mobile Lab , How can I debug remotely ?
  4. I love Chrome DevTools ! Can I use them for mobile Chrome/Safari/Firefox ?
  5. I love Firefox JS Debugger ! Can I use it for mobile Chrome/Safari/Firefox ?

Mobile web debugging has always been a challenging problem. Few years back we saw tools like Apache Weinre and JSConsole coming up and providing a pretty good solution but most of them actually require injecting around 3000 - 4000 lines of javascipt code which essentially talks to a backend server and the front end application. Such solutions are old and not used anymore. If you are using it, You should NOT !

Remote Debugging Protocol enables user to remotely debug browsers and there are a lot of tools being built over this protocol. Unfortunately each browser has its own protocol and there aren’t any cross browser debugging solutions. This talks aims to introduce such efforts and hacks which enable Chrome DevTools to be used for debugging applications across different browsers.

This is how the talk is going to be split over an hour.

  1. (15 min) Introduction to JS debugging tools, using Javascript injection.
    Apache Weinre, Vorlon JS, JSConsole, Adobe Edge Inspect etc.

  2. (10 min) Remote Debugging Protocol Introduction. chrome://inspect demo and DevTools information.

  3. (15 min) Taking DevTools out of the Blink source and deploying locally.

  4. (10 min) Using Mozilla Valence + WebIDE for cross platform debugging.

  5. (10 min) Doubts, Suggestions and Discussions.

Requirements

  1. Laptop with Unix/Linux operating Systems and *Chrome/Chromium installed.
  2. Latest *Chrome/Chromium binary.
  3. Android Device with latest chrome installed.
  4. (Optional) IOS device with latest Safari installed.
  5. Firefox Nightly installed or Valence Addon + WebIDE on latest Firefox.
  • You can have any of Chrome or Chromium since DevTools are exaclty the same for both.

Speaker bio

Pankaj Malhotra

Has a strong interest in Web Platform, researched a lot about developer tools and JS Debugging. Speaker at various Open Source Developers Group meetups. Likes to share knowledge and give good talks.

IRC : bitgeeky
GitHub : https://github.com/bitgeeky
WebSite : http://pankajmalhotra.com/
Twitter : https://twitter.com/bitgeekypankaj

Software Engineering Intern 2015 @ BrowserStack
Spring Scholar 2015 @ HashiCorp
Google Summer of Code Intern 2014 @ Mozilla Corporation

Slides

https://speakerdeck.com/bitgeeky/debugging-javascript-on-mobile-browsers

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more