X
Tap here to go to the mobile version of the site.

Support Forum

Debug js script embedded in html page

Posted

I'm trying to debug an html page which has a <script type="text/javascript"> tag in it.

This is the page: http://visjs.org/examples/timeline/basicUsage.html

I press F12, go to Debugger tab, sources, and I cant find the js script to put a breakpoint in it.

I tried using google chrome, there I can find it in Sources tab, under "examples/timeline/basicUsage.html", and I can set breakpoints and debug code with no problem.

I'm trying to debug an html page which has a <script type="text/javascript"> tag in it. This is the page: http://visjs.org/examples/timeline/basicUsage.html I press F12, go to Debugger tab, sources, and I cant find the js script to put a breakpoint in it. I tried using google chrome, there I can find it in Sources tab, under "examples/timeline/basicUsage.html", and I can set breakpoints and debug code with no problem.
Shadow110 1072 solutions 14836 answers

Hi, someone may know yet. Nothing to offer on the subject other than : If you have a bug, file a bug report. https://bugzilla.mozilla.org/ Bug Writing Guidelines : https://developer.mozilla.org/en-US/docs/Mozilla/QA/Bug_writing_guidelines

Hi, someone may know yet. Nothing to offer on the subject other than : If you have a bug, file a bug report. https://bugzilla.mozilla.org/ Bug Writing Guidelines : https://developer.mozilla.org/en-US/docs/Mozilla/QA/Bug_writing_guidelines
Pj 42 solutions 869 answers

opensas said

.

It's on Line 24. (I used Control-Shift-F to find it.)

~Pj

''opensas [[#question-1227906|said]]'' <blockquote>.</blockquote> It's on Line 24. (I used Control-Shift-F to find it.) ~Pj