Unable to debug AJAX application using Eclipse PDT [message #1737957] |
Thu, 14 July 2016 08:04 |
Eclipse User |
|
|
|
Hi all,
Recently, I have started learning HTML5, JavaScript, AJAX & PHP. For HTML5, JavaScript, AJAX, I use Firefox (47.0.1); for PHP, I have downloaded Eclipse Neon PDT. Also, I could configure my Eclipse Neon installation to debug local files and web applications, as long as the files are PHP files.
As part of learning HTML5, JavaScript, AJAX & PHP, I have written a small AJAX application - a HTML5 file, a JavaScript file, and a PHP file. I have configured this project in Eclipse Neon to use external browser (Firefox 47.0.1). I can put breakpoints in HTML & JavaScript files using Firefox tools and can step through code. However, when program execution moves from HTML/JS file to PHP file, Eclipse does not halt program execution at breakpoints. How do I force Eclipse to halt execution?
When I ask Eclipse Neon to use internal browser, I see a message:
Unable to run Node.js program. Verify you have a configured Node.js runtime environment in your system and try again.
Is this because my system does not have Node.js installed? Can I install Node.js from Eclipse Marketplace?
[Updated on: Thu, 14 July 2016 08:07] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.51112 seconds