Unable to debug AJAX application using Eclipse PDT [message #1737957] |
Thu, 14 July 2016 12:04 |
Laxman Obalapuram Messages: 4 Registered: July 2016 |
Junior Member |
|
|
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?
---
Laxman Obalapuram
My setup: Win 10 (64 bit), Java v8 update 91 (64 bit), Eclipse Neon 4.6, WAMPServer 3.0.0 (64 bit), PHP: 5.6.16, Apache: 2.4.17, Firefox 47.0.1
[Updated on: Thu, 14 July 2016 12:07] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.01914 seconds