| View previous topic :: View next topic |
| Author |
Message |
userpingz
Joined: 10 Aug 2009 Posts: 2
|
Posted: Mon Aug 10, 2009 4:49 am Post subject: Confused about JavaScript Debug. - Newbie Question |
|
|
Hi,
Good day.
I already installed Microsoft Script Debugger just now.
If when i want to debug my Javascript, How it works?
I just need copy or edit my Javascript code in NB IED editor and set breakpoint some where. Or the NB IDE will lannch the Microsoft Script Debug and set breakpoint at the MS Script Debug IDE?
I am a newbie.
// OS: WinXP Pro SP3
// XAMPP: Windows Version 1.7.1
// PHP: 5.2.9
// IE: V6.0
// PHP.ini config
| Code: |
[XDebug]
;; Only Zend OR (!) XDebug
zend_extension_ts="D:\xampp\php\ext\php_xdebug-2.0.5-5.2.dll"
xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=1
xdebug.profiler_output_dir="D:\xampp\tmp" |
| Code: |
[Zend]
;zend_extension_ts = "D:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
;zend_extension_manager.optimizer_ts = "D:\xampp\php\zendOptimizer\lib\Optimizer"
;zend_optimizer.enable_loader = 0
;zend_optimizer.optimization_level=15
;zend_optimizer.license_path =
; Local Variables:
; tab-width: 4
; End:
|
Now, i already could debug PHP code with server side option.
I want to debug Javascript too.
I also read some topics from this NB PHP user sub forum. But i still get the question...
Any help will be appreciated.[/code] |
|
| Back to top |
|
 |
Tomas Mysik Posted via mailing list.
|
Posted: Mon Aug 10, 2009 8:46 am Post subject: Confused about JavaScript Debug. - Newbi Question |
|
|
Hi,
Dne pondělí 10 srpna 2009 06:49:23 userpingz napsal(a):
| Quote: | If when i want to debug my Javascript, How it works?
|
does this URL [1] help?
Tomas
[1] http://www.netbeans.org/kb/docs/web/js-debugger-ug.html
--
Tomas Mysik
address-removed |
|
| Back to top |
|
 |
userpingz
Joined: 10 Aug 2009 Posts: 2
|
Posted: Tue Aug 11, 2009 12:33 am Post subject: |
|
|
Dear Mr Mysik,
Thank you very much!
BR!
Pingz |
|
| Back to top |
|
 |
Troy Giunipero Posted via mailing list.
|
Posted: Tue Aug 11, 2009 11:40 am Post subject: Confused about JavaScript Debug. - Newbi Question |
|
|
Hi,
Please take a look at the JavaScript Debugger User's Guide. The debugger will suspend on a breakpoint (if, when executing, it reaches the line on which the breakpoint is set). You can also configure the debugger to suspend on errors, or the first line of JavaScript code. See Configuring the Debugger.
hope this helps,
troy
On 08/10/09 06:49, userpingz wrote: | Quote: | | Quote: | Hi,
Good day.
I am confused with JavaScript Method.
I already installed Microsoft Script Debugger just now.
If when i want to debug my Javascript, How it works?
I just need copy or edit my Javascript code in NB IED editor and set breakpoint here. Or the NB IDE will lannch the Microsoft Script Debug and set breakpoint at the MS Script Debug IDE?
I am a newbie.
// OS: WinXP Pro SP3
// XAMPP: Windows Version 1.7.1
// PHP: 5.2.9
// PHP.ini config
Code:
[XDebug]
;; Only Zend OR (!) XDebug
zend_extension_ts="D:\xampp\php\ext\php_xdebug-2.0.5-5.2.dll"
xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=1
xdebug.profiler_output_dir="D:\xampp\tmp"
Code:
[Zend]
;zend_extension_ts = "D:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
;zend_extension_manager.optimizer_ts = "D:\xampp\php\zendOptimizer\lib\Optimizer"
;zend_optimizer.enable_loader = 0
;zend_optimizer.optimization_level=15
;zend_optimizer.license_path =
; Local Variables:
; tab-width: 4
; End:
Now, i could debug PHP code with server side option.
I want to debug Javascript too.
I also read some topics from this NB PHP user sub forum. But i still get the question...
Any help will be appreciated.[/code]
([email]address-removed[/email])
([email]address-removed[/email])
| |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|