WebStorm JavaScript debugger: how to compress debugging messages - webstorm

Recently I found that I can easily debug JavaScript application using Debugging tool in WebStorm. One problem I found it that debug messages are printed in WebStorm console without being collapsed/compressed.
For example, in Chrome dev-tools errors are presented this way:
and if the develop wants to get more details, he/she can click the small arrow and get a full stack trace.
However, I don't see how watching compressed errors is possible in WebStorm. I just see a full stack trace for every error:
It's really hard to read console and understand what is going on.
Do you know a way to see errors compressed in WebStorm as I see them in Chrome dev tools?

Not currently possible, please vote for IDEABKL-3271 to be notified on any progress with this feature

Related

Why does the VS Solution Explorer Script Documents list keep growing and how do I use those links?

When we debug an MVC5 application, links are provided to access the running scripts as shown below. This is for a basic MVC5 application that has had absolutely no modifications:
If we simply refresh the screen 3 times on the home page, the list displayed gets longer as shown below:
I've never really tried to debug a script yet. I have used the html links to view pages and I understand I can open one of the .js files, set a breakpoint and try to debug a script. But why are there so many links?. I would have thought I only need a single link for any given script or page that is in progress; that the links would go away when the script or page is no longer active. Clearly I'm missing something about the constantly growing list.
Could someone provide a brief explanation of this feature and how I will use it. My book on Visual Studio mentions this feature, but doesn't provide enough text for me to get a handle on this aspect of the feature.
This looks like a bug in the Edge debug adapter. Specifically, the adapter is supposed to send an event when the page refreshes (or a navigation occurs) to clear out old scripts that are no longer valid for the new execution context (here's a link to the event description in the debug adapter protocol if you're curious).
We've opened an issue on the GitHub project where you can track the progress of the fix.
For a workaround in the mean time, if you click on the bottom-most duplicate script in the list, that should be the latest loaded version, and should work without error.
*EDIT:
We've got a fix for the issue which should be out with 16.2 Preview 2 of Visual Studio.

Display runtime variables within Debug console in WebStorm

I've switched over from IntelliJ to WebStorm to do some front-end development and I seem to have lost the ability to view the runtime variables. Can someone point out the configuration to allow me to do this?
When I'm debugging, currently I see this:
When I used to see similar to:
Simply, I've lost the Variables tab. Can anyone help me configure the options? I've tried using https://www.jetbrains.com/help/rider/Inspecting_Variables.html
...to no avail
Thanks in advance
This view should definitely be there. Please try restoring the Debug tool window layout by pressing the corresponding toolbar button:
does it help?
If it doesn't, please contact JetBrains support, providing your idea.log (Help | Show log in Explorer) and information about Node.js version being used

CF Admin showing the root website

My CFIDE just went crazy this morning and I can't locate the what is causing this. When I log in from example.com/cfide/administrator/index.cfm some of the tabs on the left work fine and some are showing the index page of example.com like in an iframe... I restarted the app server but the issue is still there. Any recommendations on how to debug this thing?
So for posterity here is what we found.
There are two possibilities of exploits that could be affecting you:
the bitcoin exploit (miner.d)
the ckeditor file upload exploit (this is the h.cfm file)
There are others but these are common and known. Both tap underlying java to unfold work that either calls something more sinister, delivers server meta data or unrolls a scheduled task to fireoff worker bees to consume resources doing something the admin is unaware of.
So as we discovered we have a varietal of this h.cfm called fusebox.cfm (obfuscated with bonus encrypted CF5 garble). If you can open the file you will see that h.cfm file and open it you will see UGLY and Obfuscated code but not very sophisticated. A lot can be revealed by a coder's code and if you deconstruct and format this particular code you will discern that the developer is not native to CF, and jumps from script style to CMFL style (in caps no-less).
(here is the Stack Overflow link with the raw code (be careful))
It is also named: i.cfm, h9.cfm, r.cfm, adss.cfm or fusebox.cfm here is the black hat page that give you a ton of info. I'm viewing the cached site because I don't trust the blackhat sites. (because one loaded something on my system that raised an antivirus alert).
The file may be unreadable so here is a link to a site that describes some github sourcecode that can decrypt it for you. That is Coldfusion 5 crap that still floats around now and again. (I'm pretty sure it will look similar to that code in the SO link I pasted above).
Post mortum: One more coldfusion serve saved from villainy. Remember, it never hurts to run through your systems and see if anything can be found like this. It also never hurts to make things a little more difficult for would be server exploiters ;)

install shield 2012 professional skin customization kit fails

I have inherited a install shield project that was using 2010. I upgraded to 2012 IS professional.
I also downloaded the skin customization kit which encounters the following problem. I am trying to use this customization kit to generate new skin file as
CreateSkinFile.exe C:\MySkinFilesSrc C:\CustomizedSkins\setup.isn
It opens and closes immediately. There is no scope of reading the error that it displayed as it opens a new window and closes in a sub-second. There is no log, no trace on what exactly it is complaining.
Is there any way to trouble shoot this and see what the problem is? The ini file is in order per the customization kit guidelines.
btw: I wanted to make sure that I am doing the right thing. I took one of their clown examples and tried to generate a skin using it. That also fails in a similar way. Added to that I used the skin customization kit to extract and used the same exacted ones to make a skin and that fails too.
Here is what i have found and i hope it helps others.
The kit is written very poorely, as it does not have any verbose or proper error reporting. It opens and closes so fast a human cannot read. Having said that i found that:
The kit that the account representative gave me is for 2012 Spring. Once i rectified that, the problem remains.
The root cause is that, one of images in the skin file does not exist. I have number of images, and i was not careful to look at every one of them. Once i went through and made sure every image is present in the directory, the CreateSkinFile went ahead and generated the ISN file successfully.
Hope it helps some one else.

What is spy.js often seen in the console

Sorry if this is obvious but i cannot find a straight forward answer on the net so far...
What exactly is spy.js?
I keep seeing it in the console sometimes of firefox or chrome... is it somehow related to spry.js
I understand that spry is a js framework from adobe though..
spy.js is file within a firebug based development tool meant for debugging a website with nice tools (http://code.google.com/p/fbug/source/browse/branches/firebug1.4/content/firebug/spy.js?r=2796)
My guess is that spry, an ajax framework, is at times calling some jsonp that uses functions defined inside of spy.js, thus throwing a console error for the missing file if it wasn't properly loaded.
Checking that all of your dependencies are properly loaded will likely solve the problem. But i'm just guessing.