WebStorm debugger not stopping at breakpoints even though console output is visible

Running Webstorm 2021.2.1. I have 2 identical projects (we're in the process of forking). Debugging works as expected in the original project, but not in the fork (the exact same code). The run configurations are identical down to the `workplace.xml` file. I'm using `yarn serve` to run in debug development mode. I can see the output in the Console pane, but the Debugger is not stopping at breakpoints and shows no variables. Am I missing some obscure setting or something? Any suggestions?

 

5 comments
Comment actions Permalink

Please reproduce the issue and share your idea.log (Help > Show Log in Finder)
Did you try deleting the project `.idea` folder, BTW?

0
Comment actions Permalink

Yeah, I tried deleting the `.idea` folder. Unfortunately, that didn't work. Here are the logs:

2021-08-31 15:49:35,002 [1352418]  DEBUG - BackendServerFileEditorManager - Opening host editor for /Users/me/Projects/myForkedApp/vue.config.js 
2021-08-31 16:17:57,284 [3054700]   WARN - ebugger.JavaScriptDebugProcess - Sourcemaps are not collected in /Users/user/Projects/myForkedApp/tests/e2e/fixtures/file-loading/no-stl/datastore: deep > 4 
2021-08-31 16:17:57,284 [3054700]   WARN - ebugger.JavaScriptDebugProcess - Sourcemaps are not collected in /Users/user/Projects/myForkedApp/tests/e2e/fixtures/file-loading/no-stl/json: deep > 4 
2021-08-31 16:17:57,716 [3055132]   WARN - ebugger.JavaScriptDebugProcess - Sourcemaps are not collected in /Users/user/Projects/myForkedApp/public/documents/Help/ServiceConfiguration/img/example: deep > 4 
2021-08-31 16:17:57,717 [3055133]   WARN - ebugger.JavaScriptDebugProcess - Sourcemaps are not collected in /Users/user/Projects/myForkedApp/public/documents/Help/MBTiles/images/icons: deep > 4 
2021-08-31 16:17:57,717 [3055133]   WARN - ebugger.JavaScriptDebugProcess - Sourcemaps are not collected in /Users/user/Projects/myForkedApp/public/documents/Help/MBTiles/attachments/156861393: deep > 4 
2021-08-31 16:17:57,717 [3055133]   WARN - ebugger.JavaScriptDebugProcess - Sourcemaps are not collected in /Users/user/Projects/myForkedApp/public/documents/Help/CRS/images/icons: deep > 4 
2021-08-31 16:17:57,717 [3055133]   WARN - ebugger.JavaScriptDebugProcess - Sourcemaps are not collected in /Users/user/Projects/myForkedApp/public/documents/Help/CRS/attachments/160793251: deep > 4 
2021-08-31 16:17:57,744 [3055160]   WARN - ebugger.JavaScriptDebugProcess - Sourcemaps are not collected in /Users/user/Projects/myForkedApp/src/components/settings/services/modal-tabs/auth: deep > 4 
2021-08-31 16:17:57,744 [3055160]   WARN - ebugger.JavaScriptDebugProcess - Sourcemaps are not collected in /Users/user/Projects/myForkedApp/src/components/settings/services/modal-tabs/body-input: deep > 4 
at com.intellij.xdebugger.impl.frame.XFramesView$3.invokePopup(XFramesView.java:121)
2021-08-31 20:09:51,654 [16969070]   INFO - pi.util.registry.RegistryValue - Registry value 'debugger.mayBringFrameToFrontOnBreakpoint' has changed to 'true' 
2021-08-31 20:09:51,655 [16969071]   INFO - pi.util.registry.RegistryValue - Registry value 'debugger.click.disable.breakpoints' has changed to 'false' 
at com.intellij.xdebugger.impl.frame.XFramesView$3.invokePopup(XFramesView.java:121)
2021-08-31 20:38:08,819 [18666235]  DEBUG - BackendServerFileEditorManager - Opening host editor for / 
2021-08-31 20:38:48,924 [18706340]  DEBUG - BackendServerFileEditorManager - Opening host editor for /Users/user/Projects/myForkedApp/.env 
2021-08-31 20:39:04,773 [18722189]  DEBUG - BackendServerFileEditorManager - Opening host editor for /Users/user/Projects/OriginalProject/myOriginalApp/.env 
2021-08-31 20:39:09,556 [18726972]  DEBUG - BackendServerFileEditorManager - Opening host editor for /Users/user/Projects/OriginalProject/myOriginalApp/.env.development 
2021-08-31 20:39:23,583 [18740999]  DEBUG - BackendServerFileEditorManager - Opening host editor for /Users/user/Projects/myForkedApp/.env.development 
2021-08-31 20:41:00,773 [18838189]   WARN - ution.process.OSProcessHandler - Process has been already terminated: /usr/local/bin/node /Applications/WebStorm.app/Contents/plugins/JavaScriptLanguage/jsLanguageServicesImpl/js-language-service.js -id=1630438211203 -debug-name=eslint 
2021-08-31 20:51:14,829 [   2145]   INFO - lij.diagnostic.DebugLogManager - Set TRACE for the following categories: #com.jetbrains.rdserver.requests, #com.jetbrains.rd.ide.document, #com.jetbrains.rdserver.document, #com.jetbrains.rdserver.editors, #com.jetbrains.rdserver.actions, #com.jetbrains.rdserver.permissions 
2021-08-31 20:51:14,865 [   2181]   INFO - cation.options.RegistryManager - Registry values changed by user: debugger.valueTooltipAutoShowOnSelection = true, debugger.watches.in.variables = false, ide.tooltip.show.with.actions = true 
2021-08-31 20:51:33,581 [  20897]   INFO - lij.diagnostic.DebugLogManager - Set TRACE for the following categories: #com.jetbrains.rdserver.requests, #com.jetbrains.rd.ide.document, #com.jetbrains.rdserver.document, #com.jetbrains.rdserver.editors, #com.jetbrains.rdserver.actions, #com.jetbrains.rdserver.permissions 
2021-08-31 20:51:34,850 [  22166]  DEBUG - BackendServerFileEditorManager - Opening host editor for /Users/user/Projects/myForkedApp/README.md 
2021-08-31 20:51:36,467 [  23783]  DEBUG - BackendServerFileEditorManager - Opening host editor for /Users/user/Projects/myForkedApp/src/pages/PagaeWhereTheBreakpointIs/index.vue 
2021-08-31 20:51:36,558 [  23874]  DEBUG - BackendServerFileEditorManager - Opening host editor for /Users/user/Projects/myForkedApp/.env 
2021-08-31 20:51:36,584 [  23900]  DEBUG - BackendServerFileEditorManager - Opening host editor for /Users/user/Projects/myForkedApp/.env.development 
2021-08-31 20:51:36,617 [  23933]  DEBUG - BackendServerFileEditorManager - Opening host editor for /Users/user/Projects/myForkedApp/src/main.js 
2021-08-31 21:07:45,417 [ 992733]  DEBUG - BackendServerFileEditorManager - Opening host editor for localhost:8086/js/app.js 
at com.intellij.javascript.debugger.scripts.FileNode$navigateToSource$1.run(FileNode.kt:89)
2021-08-31 23:23:36,619 [9143935]   INFO - lij.diagnostic.DebugLogManager - Set TRACE for the following categories: #com.jetbrains.rdserver.requests, #com.jetbrains.rd.ide.document, #com.jetbrains.rdserver.document, #com.jetbrains.rdserver.editors, #com.jetbrains.rdserver.actions, #com.jetbrains.rdserver.permissions 
2021-08-31 23:23:36,930 [9144246]  DEBUG - BackendServerFileEditorManager - Opening host editor for /Users/user/Projects/test-vue-cli/vueapp/README.md 
2021-08-31 23:26:05,292 [9292608]  DEBUG - BackendServerFileEditorManager - Opening host editor for /Users/user/Projects/test-vue-cli/vueapp/src/components/Users.vue 
2021-08-31 23:26:05,351 [9292667]  DEBUG - BackendServerFileEditorManager - Opening host editor for /Users/user/Projects/test-vue-cli/vueapp/src/components/Users.vue 
2021-08-31 23:27:48,666 [9395982]  DEBUG - BackendServerFileEditorManager - Opening host editor for /Users/user/Projects/test-vue-cli/vueapp/src/App.vue 
2021-08-31 23:34:16,258 [9783574]  DEBUG - BackendServerFileEditorManager - Opening host editor for /Users/user/Projects/test-vue-cli/vueapp/public/index.html 
2021-09-01 10:32:14,743 [49262059]  DEBUG - BackendServerFileEditorManager - Opening host editor for /Users/user/Projects/test-vue-cli/vueapp/README.md 
0
Comment actions Permalink

No errors that look related; so no clues. Could you share a project that shows up the issue?

0
Comment actions Permalink

Unfortunately, I'm not at liberty to share the project. The original project (from which this was just now forked, and has the exact same code) does not have this issue. I created a brand new Hello World project that works fine as well. I'm tempted to blow it away again and start from scratch and see if that fixes it. Thanks for taking a quick look.

0
Comment actions Permalink

Update: if I set a breakpoint in the Chrome Developer Tools, then I can inspect them in WebStorm, but not the other way around.

0

Please sign in to leave a comment.