I want to use Live Edit in Webstorm.
I have the following configuration:
Webstorm 8
PHP App with Zend Framework
-Test Server created with Vagrant on remote LAN Host, DNS configured to "subdomain.localhost" in hosts file
Changed Files are deployed via FTP to Vagrant VM
I configured the Debug Configuation with the "Javascript Debug" default and set the URL to "http://subdomain.localhost"
I enabled "Live Edit" in "Menu->View"
I checked "Enable live editing" and "Highlight current element in browser..." in "Settings->Live Edit"
Now the problem is that the views of the zend implementation "*.phtml" aren't updated on change, but element highlighting is working on the rendered views.
Also if i change css or javascript in public folder, nothing updates live.
So my question is, how do i configure this environment properly, so the live editing works with html, css and javascript.
thanks in advance!
Related
I have set a cache-control in the neo-app.json and it's working fine on production but I want to disable on dev mode (SAP Web IDE) without opening Chrome DevTools and enabling "disable cache".
Can someone help ?
Thanks
I guess the default run configuration itself has this in URL parameter ...&sap-ui-appCacheBuster=..%2F..%2F&sap-ui-xx-componentPreload=off&sap-ui-xx-viewCache=false#Shell-home
Not sure if I understand what your problem is, but we usually define separate launch-html pages, like one index.html for production and one index-webIDE.html for launching the app from the webIDE.
You can set up the configs like this:
Right-click the project -> Run -> Run Configurations
Then define your alternate starting html page for bootstrapping the app.
I have started using "VsCode" as a text editor for my projects in php. I usually work in remote servers so I need another application to download the files and edit them, like "Filezilla".
Today he discovered the extension "Ssh fs" (https://marketplace.visualstudio.com/items?itemName=Kelvin.vscode-sshfs) that what he does is create a work area with connection to the server and work directly on it, everything from "VsCode".
The truth is that it works very well.
The problem is that I have some extensions installed (like a code formatter, etc) and when I connect to the server they do not appear and I can not use them.
I am new to ColdFusion and just inherited a ColdFusion project that I need to debug.
So far I have installed ColdFusion 11, Eclipse (LUNA), and CFEclipse.
From CFEclipse I am able to import my project from a location like C:\Users\MyName\MyProjectName and view all the files. However, when I tried to add coldfusion server using the Servers tab, I don't see ColdFusion among the server types. I tried the "Download additional server adapters" link, no luck.
When I tried to use Browser View tab at the lower panel of the editor to see the index.cfm page, I get a "This program cannot display the webpage" error.
What have I missed? Please help.
According to the following article, I found and ran cfstart.bat under my /ColdFusion/cfusion/bin folder, and apache is up and running.
http://blog.adamcameron.me/2014/02/coldfusion-11-getting-started-server.html
I am still hazy about how the whole thing works, but at least now I can access to the ColdFusion Administrator at http://localhost/CFIDE/administrator/ with password 'admin' like the article suggests, and the 'Browser View' tab in CFEclipse is now working properly.
I have made some code changes and deployed the code to Jetty Server which is located Remotely .
Accessed the application through browser and I am trying to debug a Application .
Please tell me whether i need to select the Local File Or Shared File from the Eclipse Debug Configurations .
Please see the screen shot here .
The option shown in your screenshot will not help you automatically get code deployed to your remote Jetty.
The option simply allows you to Share your launch configuration (Remote Java Application - ManageWatchlistCall) in your eclipse workspace. This will allow you to checkin the launch configuration in a versioning control system so your colleagues automatically get the sme Remote Java Application launch configuration.
in order to get new code to your remote server, there are only 2 options :
Redeploy your application on the remote server.
Hotdeploy pieces of code to the remote supported (if the server supports it)
Use Hotswap Bug Fixing (works for small fixes) (*)
(*) If you are running Java Virtual Machine (JVM) V1.4 or higher,
Eclipse supports a feature called Hotswap Bug Fixing (not available in
JVM V1.3 or lower). It allows the changing of source code during a
debugger session, which is better than exiting the application,
changing the code, recompiling, then starting another debugging
session. To use this function, simply change the code in the editor
and resume debugging.
I am trying to get the debugger (CF extension for Eclipse) working for last few hours. And struck in strange situation.
My settings are listed below
ColdFusion 8
Eclipse 3.4
I set up the RDS & modified the JVM.config settings and verified the connection & debugger, both returns successful in test run. But When i attach a debugger to the site, breakpoints are not hit.
My Eclipse workbench & site virtual directory pointing to the same path. It is in a remote server.
I left Eclipse-CF mapping blank since both pointing the same remote path.
And i am using WYSE thin client emulator.. does it anything to do with this..?
Can someone help me to resolve this problem?
Cheers
If your eclipse configuration is ok, could be that something is not confgured right on server side. Check if Line Debugger Settings > Allow Line Debugging feature is enabled and that Debugger Port (5005) is opened and accessible form client machine.
Articles that should walk you through proper setup:
http://eclipse.sys-con.com/node/382427
http://www.adobe.com/devnet/coldfusion/articles/debugger.html
Also you could try using CF Builder and/or FusionDebug http://www.fusion-debug.com/fd/ .
You do need to specify at least one mapping. Eclipse needs to know what folder in your project maps to the http root. Even if the mapping is / -> /, you need to specify that. The only time you can leave mapping blank is when the CF server is on the same machine as Eclipse.