How to isolate terminal on WebStorm 2019.3 - webstorm

In WebStorm 2018.3.5 when I press Up key it suggests me the last command I ran on this exact tab.
On WebStorm 2019.3.1 when I run a command on other tab or run something from system terminal and open a new tab and press Up it suggests me the last actual command ran on the system not in current tab.
Is there any way to configure it to have its own commands history in the latest WebStorm version?
OS I am currently running is Linux Mint 18 and using zsh as a shell.
Thanks.

Related

Can't add WSL Node Interpreter to WebStorm

I need to add WSL node interpreter to WebStorm (2020.1) but Linux distribution is not detected by WebStorm, even though I have Alpine WSL install through Windows Store.
I read this question, but no help. Also manually adding entry in wsl.distributions.xml didn't work, did a lot of research but nothing worked.
I was able to use WSL as terminal in WebStorm by adding wsl.exe location to shell path. My objective is to run npm scripts form from Run/Debug configuration.
I solved by reinstalling WebStorm and copying options folder
from C:\Users\me\AppData\Roaming\JetBrains\WebStorm2020.1
to C:\Users\me\AppData\Local\JetBrains\WebStorm2020.1, then WebStorm could detect Linux distribution installed on machine.
But, now when I am trying to run scripts from NPM Tool Window of WebStorm, WebStorm runs C:\Windows\System32\wsl.exe run "/usr/local/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js run start --scripts-prepend-node-path=auto" where run is redundant coming after C:\Windows\System32\wsl.exe ...
How can I set WebStorm to not have run in wsl.exe run ...?

ColdFusion 10 Mandatory Update install fails on VM

I need to run the mandatory update for ColdFusion 10 so I can apply the later updates to the server. I downloaded the file and tried the instructions listed here: Mandatory Update Instructions.
I have a singular instance, so this should be fairly straightforward. I download the file, place it in the "hf-updates" folder, and then do java -jar cf10_man_updt.jar and I get the following notice:
Graphical installers are not supported by the VM. The console mode
will be used instead...
The installer proceeds to hang and fails to complete. I then go to option #2: Silent mode. I create my properties file and then do java -jar cf10_mdt_updt.jar -i silent -f install.cfg.txt. I get the following message:
Installer User Interface Mode Not Supported
Unable to load and to prepare the installer in console or silent mode.
This one has the courtesy to actually terminate so I don't have to close the command prompt window to retry, but I'm still nowhere. Any ideas on what I can do?
Alex provided the correct answer. I had been using the JRE in my program files folder (explicitly, actually. There was no javapath to speak of in the environment variables. I shorthanded the command for the sake of brevity). I changed the command to "C:\Coldfusion10\cfusion\jre\bin\java" -jar cf10_mdt_updt.jar and the install ran successfully.

Run configuration with command line program in IntelliJ IDEA

I would like to add a configuration inside IntelliJ so that I can run it from the Run context menu (there is included Node.JS launcher but I couldn't find a "Command Line configuration launcher")
Also, is it possible to run the command line terminal as Administrator if ran from Windows ?
The command I would like to run is ember serve
Thanks for the help.
These are the steps:
Go to Run/Edit Configurations...
Add a new one for "Javascript Debug"
Fill Name with the name you want for the configuration, fill the URL with http://localhost:4200 and pick the browser you prefer
Then, in the second white box, add an external tool by clicking in the green plus button and selecting the option Run External tool
Add a new one clicking on the green plus button and fill the following fields: in Name the name you want for the external tool, in Program write ember (it's the command you are going to run), in Parameters write server or s as the options for the command and in Working directory write $ProjectFileDir$ if it's not written already to run it in the folder in which you are working with.
With all this, you should only need to press the play button and it should run and open the browser automatically with a tab directing to localhost:4200, where your ember server is running.
EDIT: I'm not using it on windows so I'm not sure if it will run the command as administrator. Probably running Intellij using "Run as Administrator" will do the job.

Webstorm node.js cli debugging in windows 7

A noob needs a favour from you. I am writing a node.js cli application that has to run in a windows 7 cmd.exe. I can not figure out how to set up a debugging workflow that I am comfortable with. When I use the standard node.js debugging config, it debugs in the Webstorm console (ie. in the ide, which does not seem to accept input from stdin - and yes, stdin has been resumed). What I would like to achieve is to have it run the application in an external cmd.exe (which is what the app will be run in), and still be able set breakpoints etc in the ide. I do not want to run the app in the Webstorm internal console.
I am using Webstorm 11 and node 4.2.1.
Many thanks
To enable stdin in WebStorm debugger console, in the Console tab uncheck "Use Console Input" — https://dl.dropboxusercontent.com/u/43511007/s/Screen%20Shot%202015-04-30%20at%2014.45.54.png.
You can also run your application in cmd console with --debug=<port for debugging> or --debug-brk=<port for debugging> options and attach to it using Remote Node.js Debug configuration. See https://confluence.jetbrains.com/display/WI/Running+and+debugging+Node.js+application#RunninganddebuggingNode.jsapplication-DebuggingNode.jsappthatrunsremotely

Run Configuration in eclipse

Hi I'm sure this is a stupid question but I am running eclipse in linux mint 15 and whenever I try to press the main run option in the upper tab of the eclipse menu (next to the build option) I get a message saying systemtap is not installed, and then the run button grays out and I cant use it unless I restart eclipse and run into the same problem. I know this is an issue with the run configuration but when I attempt to alter it in the run configurations menu all that ends up happening is a run button being created in the favorites tab for the particular project I have selected. What I am trying to do is have the main run button launch whichever project I have selected through the default option instead of attempting to automatically use systemtap. Thanks
You simply need to install the systemtap packages. From a terminal...
sudo apt-get install systemtap