Closed dow-mp closed 2 years ago
Thanks, I checked StackOverflow and couldn't find a solution that worked for me. I'll keep checking or post myself.
Your program seems to have a problem with a missing '/Users/macuser/git-practice'. This is a problem outside of VS Code.
The message No debugger available, can not send 'variables'
just means that the debugger/runtime has terminated (because of the previous error), and that you can no longer look at variables. So that message is expected
Issue Type: Performance Issue
Trying to debug a short Javascript file and throwing the following error:
"Uncaught Error: Cannot find module '/Users/macuser/git-practice' /usr/local/bin/node ./ Process exited with code 1 No debugger available, can not send 'variables'"
Attempted to uninstall and reinstall VSCode and Node.js and error was not corrected.
VS Code version: Code 1.62.2 (Universal) (3a6960b964327f0e3882ce18fcebd07ed191b316, 2021-11-11T20:59:05.913Z) OS version: Darwin x64 20.5.0 Restricted Mode: No
System Info
|Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz (4 x 2700)| |GPU Status|2d_canvas: enabledgpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled| |Load (avg)|3, 3, 3| |Memory (System)|8.00GB (0.02GB free)| |Process Argv|--crash-reporter-id fa70262d-fb98-456f-971a-43a5931cc604| |Screen Reader|no| |VM|0%|
Process Info
``` CPU % Mem MB PID Process 21 139 39721 code main 6 57 39725 gpu-process 0 16 39727 utility 8 98 39743 shared-process 0 33 39745 ptyHost 0 0 39915 /bin/zsh -l 0 0 39941 /bin/zsh -l 0 49 40052 /Users/macuser/Desktop/Visual Studio Code.app/Contents/Frameworks/Code Helper (Renderer).app/Contents/MacOS/Code Helper (Renderer) --ms-enable-electron-run-as-node /Users/macuser/Desktop/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-fork ms-vscode.pwa-node {"common.vscodemachineid":"c117535ec20cce0cf3e1afed5ee40192910036af2825435cb1a54c92ce51f540","common.vscodesessionid":"f3b958c0-0cf1-4df0-8d46-92dca90d06e41636925154566"} AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217 3 0 40160 /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= 0 238 39846 window (challenges.js — git-practice) 0 131 39847 extensionHost 0 66 39898 /Users/macuser/Desktop/Visual Studio Code.app/Contents/Frameworks/Code Helper (Renderer).app/Contents/MacOS/Code Helper (Renderer) --ms-enable-electron-run-as-node /Users/macuser/Desktop/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=39847 0 82 39899 /Users/macuser/Desktop/Visual Studio Code.app/Contents/Frameworks/Code Helper (Renderer).app/Contents/MacOS/Code Helper (Renderer) --ms-enable-electron-run-as-node --max-old-space-size=3072 /Users/macuser/Desktop/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName /var/folders/99/kyhcf6xn43d6_811tr5z_yr80000gn/T/vscode-typescript501/81f81b06d9496744f160/tscancellation-74699209d3f432760795.tmp* --globalPlugins typescript-vscode-sh-plugin --pluginProbeLocations /Users/macuser/Desktop/Visual Studio Code.app/Contents/Resources/app/extensions/typescript-language-features --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation 0 90 39900 /Users/macuser/Desktop/Visual Studio Code.app/Contents/Frameworks/Code Helper (Renderer).app/Contents/MacOS/Code Helper (Renderer) --ms-enable-electron-run-as-node --max-old-space-size=3072 /Users/macuser/Desktop/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --enableTelemetry --cancellationPipeName /var/folders/99/kyhcf6xn43d6_811tr5z_yr80000gn/T/vscode-typescript501/81f81b06d9496744f160/tscancellation-18a1c16e292f3363d10b.tmp* --globalPlugins typescript-vscode-sh-plugin --pluginProbeLocations /Users/macuser/Desktop/Visual Studio Code.app/Contents/Resources/app/extensions/typescript-language-features --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation 0 57 39902 /Users/macuser/Desktop/Visual Studio Code.app/Contents/Frameworks/Code Helper (Renderer).app/Contents/MacOS/Code Helper (Renderer) --ms-enable-electron-run-as-node /Users/macuser/Desktop/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /Users/macuser/Library/Caches/typescript/4.4 --enableTelemetry --typesMapLocation /Users/macuser/Desktop/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typesMap.json --validateDefaultNpmLocation 0 25 39848 watcherServiceNSFW 7 66 40156 window (Issue Reporter) ```Workspace Info
``` | Window (challenges.js — git-practice) | Folder (git-practice): 74 files | File types: js(16) html(9) DS_Store(8) css(4) json(3) md(3) png(2) | txt(2) jpg(1) gif(1) | Conf files: launch.json(2) settings.json(1) | Launch Configs: pwa-node; ```Extensions (6)
Extension|Author (truncated)|Version ---|---|--- vsc-material-theme|Equ|33.2.2 vsc-material-theme-icons|equ|2.2.1 prettier-vscode|esb|9.0.0 live-server|ms-|0.2.9 material-icon-theme|PKi|4.10.0 LiveServer|rit|5.6.1 (2 theme extensions excluded)A/B Experiments
``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 pythontb:30283811 pythonvspyt551:30345470 pythonptprofiler:30281270 vshan820:30294714 vstes263cf:30335440 pythondataviewer:30285071 vscod805cf:30301675 pythonvspyt200:30340761 binariesv615:30325510 vsccppwtct:30382698 bridge0708:30335490 dockerwalkthru:30377721 bridge0723:30353136 pythonrunftest32:30373476 pythonf5test824:30373475 javagetstartedt:30391933 pythonvspyt187:30373474 vsqsis400:30386382 vsaa593:30376534 vssld246:30386377 ```