CodeLobster IDE

Free cross-platform PHP IDE (HTML, PHP, CSS, JavaScript, Python code editor) with support Drupal, Joomla, Twig, JQuery, BackboneJS, LaravelJS, Node.js, CodeIgniter, CakePHP, Laravel, Magento, MeteorJS, Phalcon, Symfony, VueJS, WordPress, Yii
It is currently Sat Apr 27, 2024 10:38 pm

All times are UTC




Post a reply
Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
   

Topic review - breakpoints not fired in javascript
Author Message
  Post subject:  Re: breakpoints not fired in javascript  Reply with quote
this seems to works with F5 but on big project, sometimes it's fired, sometime not ... I have not yet understood why and when.

one more questioin : when I hit the F5, I get an error because the debugger launch the current page I have; I'm always obliged to switch, in the editor, to the main page (ie: index.php in my case with codeigniter) to launch the debugger ! is this normal ? It's a bit confusing between using F5, 'Debug (php,js,nodejs), 'Debug URL', 'Debug Project home url' -

Domi.
Post Posted: Thu Mar 24, 2022 3:03 pm
  Post subject:  Re: breakpoints not fired in javascript  Reply with quote
Please, press F5 instead of Live View.

Also You should wait about 3-4 seconds after that.

Thanks,
Codelobster Team.
Post Posted: Wed Mar 23, 2022 12:23 pm
  Post subject:  Re: breakpoints not fired in javascript  Reply with quote
Thanks for your reply, but this doesn't work, maybe I have missed something ....

here is a short video, a breakpoint is set, the app is launched thru the preview and as you can see, the breakpoint is not fired.

https://youtu.be/bqHchoreSSw

thanks in advance,
Domi.
Post Posted: Wed Mar 23, 2022 10:20 am
  Post subject:  Re: breakpoints not fired in javascript  Reply with quote
Hi, Domi.

Do debug JavaScript You should place a breakpoint and open HTML file by F5.
(Live View Window will be opened and stopped on your breakpoint).

Regards,
Codelobster Team.
Post Posted: Mon Mar 21, 2022 10:03 am
  Post subject:  breakpoints not fired in javascript  Reply with quote
Hi,

now that my debugger works fine in php (the breakpoints are fired); how to debug javascript ? I set a breakpoint in the javascript but it's not fired - the 'Auto start on Live View' is set in the preferences; I use Chrome on Win10; I start the application using the green arrow from the 'Debug toolbar'; the code is reached because I have placed a 'console.log()'

thanks in advance,
Domi.
Post Posted: Thu Mar 17, 2022 2:00 pm

All times are UTC


Jump to:  
Powered by phpBB © 2016 phpBB Group