Webstorm 6 problem connecting to Chrome

Webstorm 126.309
Mac OSX 10.8.2
Chrome 24.0.1312.57


I fire up webstorm and try to run in debug mode and it just sits there saying "Waiting for connection from Jetbrains Chrome Extension".
Yesterday I tried reinstalling the extension many times, rebooting computer etc. all to no avail, and then it suddenly started working.  Unfortunately I don't know what I did to get it working.  

Today
Tried restarting etc. no joy
Switched to Firefox for a bit and found I had  had misspelled a script I was loading so switched back to chrome to see if that would fix it.
Got the error [doComputeFrameValues]: [Exception... "Unexpected error"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://jetbrains-connector/content/values.js :: <TOP_LEVEL> :: line 48"  data: no] chrome://jetbrains-connector/content/logging.js:3

Restarted session from the debug icon on the top and back to Waiting for connection...

This was working ok with Webstorm 5 and when I got it connected yesterday it worked fine for the rest of the day.


Any clues as to what is going on?


Phoebe.









Here is the log after shutting down webstorm and chrome

2013-02-21 10:39:39,522 [      0]   INFO -        #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2013-02-21 10:39:39,529 [      7]   INFO -        #com.intellij.idea.Main - IDE: JetBrains WebStorm (build #WS-126.309, 19 Feb 2013 00:00)
2013-02-21 10:39:39,529 [      7]   INFO -        #com.intellij.idea.Main - JRE: 1.6.0_37-b06-434-11M3909 (Apple Inc.)
2013-02-21 10:39:39,529 [      7]   INFO -        #com.intellij.idea.Main - JVM: 20.12-b01-434 (Apple Inc.)
2013-02-21 10:39:39,572 [     50]   INFO -        #com.intellij.idea.Main - JNA library loaded (64-bit) in 43 ms
2013-02-21 10:39:39,628 [    106]   INFO -        #com.intellij.idea.Main - Snappy library loaded (1.0.5) in 56 ms
2013-02-21 10:39:42,277 [   2755]   INFO - llij.ide.plugins.PluginManager - 34 plugins initialized in 2181 ms
2013-02-21 10:39:42,277 [   2755]   INFO - llij.ide.plugins.PluginManager - Loaded plugins:IDEA CORE, File Watchers (126.309), CSS Support, YAML, JavaScript Support (1.0), Remote Hosts Access (0.1), JavaScript Debugger (1.0), Dart (126.309), XPathView + XSLT Support (4), IntelliLang (8.0), Inspection-JS (2.0), JavaScript Intention Power Pack (0.9.4), SASS support, NodeJS (126.309), CoffeeScript (2.0), LESS support, LiveEdit (1.0), Jade (126.309), JSTestDriver Plugin (126.309), Perforce Integration (2.0), QuirksMode, Refactor-X (2.01), ASP (0.1), CVS Integration (11), Git Integration (8.1), Task Management (1.0), GitHub, HAML, hg4idea (10.0), HTML Tools (2.0), Java Server Pages Integration (1.0), Subversion Integration (1.1), W3C Validators (2.0), XSLT-Debugger (1.4)
2013-02-21 10:39:42,911 [   3389]   INFO - ij.components.ComponentManager - com.intellij.openapi.components.impl.ServiceManagerImpl initialized in 186 ms
2013-02-21 10:39:42,956 [   3434]   INFO - ellij.util.io.PagedFileStorage - lower=100; upper=200; buffer=10; max=724697088
2013-02-21 10:39:43,043 [   3521]   INFO - ij.components.ComponentManager - com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl initialized in 99 ms
2013-02-21 10:39:43,046 [   3524]   INFO - api.vfs.impl.local.FileWatcher - Starting file watcher: /Applications/WebStorm EAP-126.159.app/bin/fsnotifier
2013-02-21 10:39:43,104 [   3582]   INFO - api.vfs.impl.local.FileWatcher - Native file watcher is operational.
2013-02-21 10:39:43,105 [   3583]   INFO - ij.components.ComponentManager - com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl initialized in 162 ms
2013-02-21 10:39:43,119 [   3597]   INFO - ij.components.ComponentManager - com.intellij.openapi.vfs.PlatformVirtualFileManager initialized in 186 ms
2013-02-21 10:39:43,336 [   3814]   INFO - ij.components.ComponentManager - com.intellij.openapi.util.registry.RegistryState initialized in 423 ms
2013-02-21 10:39:43,389 [   3867]   INFO - ij.components.ComponentManager - com.intellij.openapi.project.impl.ProjectManagerImpl initialized in 16 ms
2013-02-21 10:39:43,395 [   3873]   INFO - ij.components.ComponentManager - com.intellij.ide.RecentDirectoryProjectsManagerEx initialized in 23 ms
2013-02-21 10:39:43,423 [   3901]   INFO - ij.components.ComponentManager - com.intellij.openapi.application.impl.ApplicationInfoImpl initialized in 25 ms
2013-02-21 10:39:44,135 [   4613]   INFO - ij.components.ComponentManager - com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl initialized in 704 ms
2013-02-21 10:39:44,162 [   4640]   INFO - ij.components.ComponentManager - com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl initialized in 13 ms
2013-02-21 10:39:44,223 [   4701]   INFO - ij.components.ComponentManager - com.intellij.openapi.editor.impl.EditorFactoryImpl initialized in 58 ms
2013-02-21 10:39:44,253 [   4731]   INFO - ij.components.ComponentManager - com.intellij.history.integration.LocalHistoryImpl initialized in 27 ms
2013-02-21 10:39:44,279 [   4757]   INFO - ij.components.ComponentManager - com.intellij.openapi.command.impl.UndoManagerImpl initialized in 23 ms
2013-02-21 10:39:44,290 [   4768]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/ui.lnf.xml file is null
2013-02-21 10:39:44,418 [   4896]   INFO - ij.components.ComponentManager - com.intellij.ide.ui.laf.LafManagerImpl initialized in 129 ms
2013-02-21 10:39:44,451 [   4929]   INFO - ij.components.ComponentManager - com.intellij.notification.impl.NotificationsManagerImpl initialized in 14 ms
2013-02-21 10:39:44,468 [   4946]   INFO - ij.components.ComponentManager - com.intellij.internal.statistic.persistence.UsageStatisticsPersistenceComponent initialized in 15 ms
2013-02-21 10:39:44,532 [   5010]   INFO - ij.components.ComponentManager - com.intellij.internal.statistic.persistence.ApplicationStatisticsPersistenceComponent initialized in 61 ms
2013-02-21 10:39:44,730 [   5208]   INFO - ij.components.ComponentManager - com.intellij.util.net.HttpConfigurable initialized in 183 ms
2013-02-21 10:39:44,978 [   5456]   INFO - ij.components.ComponentManager - com.intellij.openapi.keymap.impl.KeymapManagerImpl initialized in 235 ms
2013-02-21 10:39:45,644 [   6122]   INFO - ij.components.ComponentManager - com.intellij.openapi.actionSystem.impl.ActionManagerImpl initialized in 901 ms
2013-02-21 10:39:45,666 [   6144]   INFO - ij.components.ComponentManager - com.intellij.openapi.wm.impl.WindowManagerImpl initialized in 928 ms
2013-02-21 10:39:45,682 [   6160]   INFO - ij.components.ComponentManager - com.intellij.openapi.wm.impl.FocusManagerImpl initialized in 943 ms
2013-02-21 10:39:45,718 [   6196]   INFO - ij.components.ComponentManager - com.intellij.ide.IdeTooltipManager initialized in 18 ms
2013-02-21 10:39:45,763 [   6241]   INFO - ij.components.ComponentManager - com.intellij.ide.MacOSApplicationProvider initialized in 30 ms
2013-02-21 10:39:45,782 [   6260]   INFO - ij.components.ComponentManager - com.intellij.openapi.updateSettings.impl.UpdateCheckerComponent initialized in 12 ms
2013-02-21 10:39:45,800 [   6278]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/macros.xml file is null
2013-02-21 10:39:45,885 [   6363]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/quicklists.xml file is null
2013-02-21 10:39:45,887 [   6365]   INFO - ij.components.ComponentManager - com.intellij.openapi.actionSystem.ex.QuickListsManager initialized in 86 ms
2013-02-21 10:39:46,022 [   6500]   INFO - ij.components.ComponentManager - com.intellij.psi.stubs.SerializationManagerImpl initialized in 42 ms
2013-02-21 10:39:46,417 [   6895]   INFO - ij.components.ComponentManager - com.intellij.util.indexing.FileBasedIndexImpl initialized in 437 ms
2013-02-21 10:39:46,478 [   6956]   INFO - ij.components.ComponentManager - com.intellij.psi.stubs.StubIndexImpl initialized in 59 ms
2013-02-21 10:39:46,505 [   6983]   INFO - ij.components.ComponentManager - com.intellij.tools.ToolManager initialized in 23 ms
2013-02-21 10:39:46,563 [   7041]   INFO - ij.components.ComponentManager - com.intellij.execution.impl.RunnerRegistryImpl initialized in 24 ms
2013-02-21 10:39:46,585 [   7063]   INFO - ij.components.ComponentManager - com.intellij.ide.EvaluationSupport initialized in 15 ms
2013-02-21 10:39:46,610 [   7088]   INFO - ij.components.ComponentManager - org.intellij.plugins.relaxNG.ApplicationLoader initialized in 23 ms
2013-02-21 10:39:46,636 [   7114]   INFO - ij.components.ComponentManager - org.intellij.plugins.xpathView.XPathAppComponent initialized in 17 ms
2013-02-21 10:39:46,662 [   7140]   INFO - ij.components.ComponentManager - org.intellij.lang.xpath.xslt.impl.XsltConfigImpl initialized in 23 ms
2013-02-21 10:39:46,738 [   7216]   INFO - ij.components.ComponentManager - com.jetbrains.liveEdit.LiveEditOptions initialized in 71 ms
2013-02-21 10:39:46,740 [   7218]   INFO - pl.stores.ApplicationStoreImpl - 72 application components initialized in 4252 ms
2013-02-21 10:39:46,742 [   7220]   INFO - .intellij.idea.IdeaApplication - App initialization took 10121 ms
2013-02-21 10:39:46,769 [   7247]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/customization.xml file is null
2013-02-21 10:39:47,860 [   8338]   WARN - j.ui.mac.MacMainFrameDecorator - no url bundle present
2013-02-21 10:39:48,527 [   9005]   INFO - ij.components.ComponentManager - com.intellij.openapi.components.impl.ServiceManagerImpl initialized in 33 ms
2013-02-21 10:39:48,556 [   9034]   INFO - ij.components.ComponentManager - com.intellij.openapi.project.impl.ProjectReloadStateImpl initialized in 14 ms
2013-02-21 10:39:48,590 [   9068]   INFO - ij.components.ComponentManager - com.intellij.openapi.roots.impl.ProjectRootManagerComponent initialized in 18 ms
2013-02-21 10:39:48,751 [   9229]   INFO - ij.components.ComponentManager - com.intellij.psi.impl.PsiManagerImpl initialized in 183 ms
2013-02-21 10:39:48,803 [   9281]   INFO - ij.components.ComponentManager - com.intellij.openapi.fileEditor.impl.PsiAwareFileEditorManagerImpl initialized in 236 ms
2013-02-21 10:39:48,805 [   9283]   INFO - ij.components.ComponentManager - com.intellij.ui.EditorNotifications initialized in 238 ms
2013-02-21 10:39:48,816 [   9294]   INFO - ij.components.ComponentManager - com.intellij.psi.impl.PsiDocumentManagerImpl initialized in 11 ms
2013-02-21 10:39:48,823 [   9301]   INFO - ij.components.ComponentManager - com.intellij.openapi.vfs.encoding.EncodingProjectManagerImpl initialized in 17 ms
2013-02-21 10:39:48,942 [   9420]   INFO - ij.components.ComponentManager - com.intellij.openapi.vcs.impl.ProjectLevelVcsManagerImpl initialized in 86 ms
2013-02-21 10:39:48,985 [   9463]   INFO - ij.components.ComponentManager - com.intellij.openapi.vcs.impl.VcsDirectoryMappingStorage initialized in 34 ms
2013-02-21 10:39:49,160 [   9638]   INFO - ij.components.ComponentManager - com.intellij.openapi.vcs.changes.ChangesViewManager initialized in 137 ms
2013-02-21 10:39:49,212 [   9690]   INFO - ij.components.ComponentManager - com.intellij.openapi.vcs.changes.ChangeListManagerImpl initialized in 197 ms
2013-02-21 10:39:49,217 [   9695]   INFO - ij.components.ComponentManager - com.intellij.openapi.vcs.impl.VcsFileStatusProvider initialized in 204 ms
2013-02-21 10:39:49,220 [   9698]   INFO - ij.components.ComponentManager - com.intellij.openapi.vcs.impl.LineStatusTrackerManager initialized in 208 ms
2013-02-21 10:39:49,241 [   9719]   INFO - ij.components.ComponentManager - com.intellij.openapi.vcs.changes.shelf.ShelvedChangesViewManager initialized in 17 ms
2013-02-21 10:39:49,259 [   9737]   INFO - ij.components.ComponentManager - com.intellij.openapi.vcs.changes.committed.CommittedChangesCache initialized in 17 ms
2013-02-21 10:39:49,565 [  10043]   INFO - ij.components.ComponentManager - com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl initialized in 292 ms
2013-02-21 10:39:49,607 [  10085]   INFO - ij.components.ComponentManager - com.intellij.codeInsight.daemon.impl.DaemonListeners initialized in 42 ms
2013-02-21 10:39:49,632 [  10110]   INFO - ij.components.ComponentManager - com.intellij.codeInsight.navigation.CtrlMouseHandler initialized in 16 ms
2013-02-21 10:39:49,710 [  10188]   INFO - ij.components.ComponentManager - com.intellij.execution.impl.RunManagerImpl initialized in 60 ms
2013-02-21 10:39:49,783 [  10261]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/plainTextFiles.xml file is null
2013-02-21 10:39:49,957 [  10435]   INFO - ij.components.ComponentManager - com.intellij.xdebugger.impl.XDebuggerManagerImpl initialized in 242 ms
2013-02-21 10:39:49,977 [  10455]   INFO - ij.components.ComponentManager - com.intellij.xml.breadcrumbs.BreadcrumbsLoaderComponent initialized in 19 ms
2013-02-21 10:39:50,027 [  10505]   INFO - ij.components.ComponentManager - org.jetbrains.plugins.webIde.ProjectSettingsConfigurer initialized in 38 ms
2013-02-21 10:39:50,082 [  10560]   INFO - ij.components.ComponentManager - com.intellij.javascript.JSSupportLoader initialized in 44 ms
2013-02-21 10:39:50,195 [  10673]   INFO - ij.components.ComponentManager - com.jetbrains.plugins.webDeployment.conflicts.RemoteChangeNotifier initialized in 104 ms
2013-02-21 10:39:50,299 [  10777]   INFO - ij.components.ComponentManager - git4idea.repo.GitRepositoryManagerImpl initialized in 91 ms
2013-02-21 10:39:50,326 [  10804]   INFO - ij.components.ComponentManager - com.intellij.tasks.impl.TaskManagerImpl initialized in 26 ms
2013-02-21 10:39:50,356 [  10834]   INFO - ij.components.ComponentManager - org.zmlx.hg4idea.HgRepositoryWatcher initialized in 29 ms
2013-02-21 10:39:50,365 [  10843]   INFO - ellij.project.impl.ProjectImpl - 111 project components initialized in 2106 ms
2013-02-21 10:39:50,438 [  10916]   INFO - ij.components.ComponentManager - com.intellij.openapi.roots.impl.ModuleRootManagerComponent initialized in 40 ms
2013-02-21 10:39:50,443 [  10921]   INFO - le.impl.ModuleManagerComponent - 1 module(s) loaded in 77 ms
2013-02-21 10:39:51,176 [  11654]   INFO - .roots.impl.DirectoryIndexImpl - Directory index initialized in 8 ms, indexed 3 directories
2013-02-21 10:39:51,184 [  11662]   INFO - pl.PushedFilePropertiesUpdater - File properties pushed in 2 ms
2013-02-21 10:39:51,580 [  12058]   INFO - indexing.UnindexedFilesUpdater - Indexable files iterated in 342 ms
2013-02-21 10:39:51,581 [  12059]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 1 files to update
2013-02-21 10:39:51,742 [  12220]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update done in 161 ms
2013-02-21 10:39:52,137 [  12615]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/codeStyleSettings.xml file is null
2013-02-21 10:39:52,140 [  12618]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/projectCodeStyle.xml file is null
2013-02-21 10:39:52,418 [  12896]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/fileColors.xml file is null
2013-02-21 10:39:52,707 [  13185]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/jsLibraryMappings.xml file is null
2013-02-21 10:39:53,491 [  13969]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/IntelliLang.xml file is null
2013-02-21 10:39:54,319 [  14797]   WARN - openapi.wm.impl.ToolWindowImpl - ToolWindow icons should be 13x13. Please fix icon path=/artwork/webide12.png class=class com.intellij.ide.projectView.impl.ProjectViewToolWindowFactory
2013-02-21 10:39:54,389 [  14867]   INFO -    #org.jetbrains.io.WebServer - We have tried to bind to 127.0.0.1 host but have got exception (Mac OS X 10.8.2), so, try to check - are we really need to bind to 127.0.0.1
2013-02-21 10:39:54,747 [  15225]   INFO - jetbrains.ide.WebServerManager - web server started, port 63343
2013-02-21 10:39:55,584 [  16062]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/watcherTasks.xml file is null
2013-02-21 10:39:56,645 [  17123]   INFO - tellij.xml.Html5SchemaProvider - HTML5_SCHEMA_LOCATION = /Applications/WebStorm EAP-126.159.app/lib/webstorm.jar!/resources/html5-schema/html5.rnc
2013-02-21 10:39:56,645 [  17123]   INFO - tellij.xml.Html5SchemaProvider - XHTML5_SCHEMA_LOCATION = /Applications/WebStorm EAP-126.159.app/lib/webstorm.jar!/resources/html5-schema/xhtml5.rnc
2013-02-21 10:39:58,118 [  18596]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/webResources.xml file is null
2013-02-21 10:39:59,011 [  19489]   INFO - tor.impl.FileEditorManagerImpl - Project opening took 10815 ms
2013-02-21 10:40:05,831 [  26309]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/cachedDictionary.xml file is null

6 comments

2013-02-21 10:39:54,389 [  14867]   INFO -    #org.jetbrains.io.WebServer - We have tried to bind to 127.0.0.1 host but have got exception (Mac OS X 10.8.2), so, try to check - are we really need to bind to 127.0.0.1
2013-02-21 10:39:54,747 [  15225]   INFO - jetbrains.ide.WebServerManager - web server started, port 63343



http://confluence.jetbrains.com/display/WI/LiveEdit "Probable reason: there is another instance of JetBrains IDE running so port 63342 is already bound. Please check that product name corresponds to your IDE (where "XXX" stands for the build number, e.g. "126.159")."

Please open chrome://extensions/, scroll down to JetBrains IDE Support section, click Options, change port to 63343. Or ensure, that there is no another instance of JetBrains IDE running.
0

Vladimir,

First I tried shutting down all other browsers and PyCharm and closing and reopening Webstorm and still had the same problem, checked the activity monitor and could only see one version of Webstorm.

Then rebooted and opened Webstorm first.  All working ok now.  Now I know the problem, will try and identify what is the cause.

Thanks for your help.

Phoebe.

0

this is totally frustrating, same problem as you and I've tried everything, including installing/uninstalling WS.. this is ridiculous.  just all of a sudden it decides to stop working.  WTF

well I guess I won't work then.  Get fired due to no productivity in WS.

this is totally unacceptable that WS is having these kinds of issues that should clearly have been improved either by the UI telling us wtf is going on or there is a bug with WS and/or plugin itself.

0

Webstorm: 129.664
Mac OSX:10.8.4
Chrome: 28.0.1500.71
JetBrains IDE Support: 1.13

Hi,

I have exactly the same problem. When I try to do a "Karma Debug", the debugging sessions never starts (a Chrome instance fires up but that is all, the  http://localhost:9876/debug.html doesn't open and WebStorm shows a small tooltip in the lower left corner stating:  

"Waiting for connection from JetBrains IDE Support extension for Chrome. Please ensure that you have installed the extension or see Help".

The extension is for sure installed, and if I use JSTestRunner, it is possible to debug using it.
I have also verified that there is only one instance running of WebStorm.

The log for the IDE Support extension states:

System latest connected to WebStorm 6.0.2 (127.0.0.1:63342)

How can I debug this further to get this to work?

Any feedback appriciated!

- Mats

0

it's nice that you support Karma, but that's not the point.
I have the same problem right now in 2014, so this is really an issue.
Chrome opens up, but no URL is loaded (you just get a blank / empty new chrome tab) and PhpStorm keeps waiting for a connection. Cannot work now :(
it did work before, but just stopped working after a reboot, don't know why.

opened up an issue here: https://intellij-support.jetbrains.com/requests/28746

if anyone had the same and fixed it I would really love to hear it!

0

Please sign in to leave a comment.