I'm having problem with JavaScript debugger under project that uses dojo.require() to load JavaScript files.
Under debugger I can see only files loaded using standard <script/> tag. Also I cannot see any debugger "frame".
Setup:
Mac
Intellij 10.5
Fx 10 with Intellij extension
Above setup works fine under other projects.
There is an open bug for this:
IDEA-63523 Can't debug Dojo Widgets
Related
I can't set a breakpoint in JavaScript files in my MVC projects in Visual Studio Community 2015 Update 3. I get this error at bottom left of Visual Studio.
A breakpoint could not be inserted at this location
I can set breakpoints in C# files, but not JavaScript files.
Here is what I've done so far to troubleshoot:
checked web.config includes: compilation debug="true"
solution configuation set to "Debug"
browser is Internet Explorer
added BundleTable.EnableOptimizations = false; to BundleConfig.cs
tried adding breakpoints in both generated files during debugging as well as source code JS files when not running
Rebuilt project, restarted Visual Studio
Repaired Visual Studio
Created new projects with both .Net Framework 4.5.2 and 4.6.1
also tried all suggestions listed in this post Breakpoint Failed to Bind - Visual Studio 2015
You really can't debug a javascript code on vs2015 and below but on vs2017 its already possible. Just make sure to Enable JavaScript debugging for ASP.NET by going to Debug>Debugging>General menu.
Set 'Configuration Manager' => Debug
I am trying to figure out why, after building a dojo application into a single layer does dojo still include the extra file for dojo/_firebug/firebug?
It does not download the file in Chrome on Windows 7 on a desktop PC, however, it does download it on Chrome on a Windows 8 tablet.
The reason this is a problem, is because I have a grunt task that runs after the dojo build to remove all extra .js files (all javascript files are being built into a layer).
Woops, I figured this out thanks to #tik27. The debug:true flag was set in my dojoConfig so it was downloading this extra file.
Cheers.
WebStorm 10.0.3 does not pause at typescript breakpoints.
This has worked for me before using WebStorm 9.
Note:
I know that the generated source maps are ok, because chrome dev tools manages to pause on breakpoints in .ts (typescript) files.
Any ideas?
I'm using Mac OS X 10.10.3
Using Chrome v43?
If so -- https://youtrack.jetbrains.com/issue/WEB-16645 -- that's the ticket for the issue with explanations.
You can either:
Downgrade to Chrome v42
Use custom build of WebStorm v10.0.3 (links are listed in this comment)
WebStorm v10.0.4 should also contain the fix (not yet publicly available).
I have the basic Java version of NetBeans installed, but I want to be able to create JavaScript/HTML projects with auto-completion and other IDE-supported functionality. I can't seem to find out what I need to install to do this. What do I need to do?
There is no dedicated Javascript project type in Netbeans 7. There are still various possibilities to work on HTML/JS files:
Add a JS/HTML file to any of the available projects, e.g. a PHP project.
Open the JS/HTML file directly without having a project by using
File/Open.
Define own project type. This is likely not so easy.
In any case you will be able to edit the file and utilize the IDE language features like autocompletion, etc. But you will not be able to run/debug the JS file. For debugging you will need to use the debuggers integrated with the browsers (Developer Tools in IE, Chrome; Firebug in Firefox, etc.)
You install the PHP plugin from the Plugin directory. This isn't explained anywhere that I can see, I just had to guess.
You can download the php bundle for netbeans here.You can also create xml,json,css,php pages with it.
i want to Debug my js codes in Eclipse.
how to setup Mozilla rhino in Eclipse...
(step by step guide.
If you are using embedded Rhino I would use the debugger provided with the Rhino shell in the tools folder.
Check out the source code and browse to the main.java file in the debugger tool. Use that as a template to create your code to start the debugger in your javascript code.
As for using Eclipse to debug an embedded Rhino application I have heard of people doing it but I don't think that it would be worth the trouble.