# NodeJs debug with WebStrom - org.jetbrains.v8.protocol.V8Pro

**URL:** <https://community.volumio.com/t/nodejs-debug-with-webstrom-org-jetbrains-v8-protocol-v8pro/6475>\
**Category:** Development talks\
**Created:** [July 24, 2017, 9:18am UTC](https://community.volumio.com/t/nodejs-debug-with-webstrom-org-jetbrains-v8-protocol-v8pro/6475 "2017-07-24T09:18:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eliaweiss](https://community.volumio.com/letter_avatar_proxy/v4/letter/e/9de0a6/32.png) [@eliaweiss](https://community.volumio.com/u/eliaweiss)\
**Post date:** [July 24, 2017, 9:18am UTC](https://community.volumio.com/t/nodejs-debug-with-webstrom-org-jetbrains-v8-protocol-v8pro/6475/1 "2017-07-24T09:18:35Z")

</div>

I’m trying to debug a Remote NodeJs app (Volumio)

I’m able to set break points and step over the code, but when I try to inspect a value of any variable I get

org.jetbrains.v8.protocol.V8ProtocolReaderImpl$Mi cannot be cast to org.jetbrains.v8.protocol.ValueHandle

I assume it’s some version issues between the local and remote env, but any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![eliaweiss](https://community.volumio.com/letter_avatar_proxy/v4/letter/e/9de0a6/32.png) [@eliaweiss](https://community.volumio.com/u/eliaweiss)\
**Post date:** [July 24, 2017, 9:23am UTC](https://community.volumio.com/t/nodejs-debug-with-webstrom-org-jetbrains-v8-protocol-v8pro/6475/2 "2017-07-24T09:23:08Z")

</div>

SOLVED:  
In volumio ssh do:

sudo apt-get upgrade  
sudo apt-get update

---

<div class="post-metadata">

**Author:** ![chsims1](https://community.volumio.com/user_avatar/community.volumio.com/chsims1/32/87_2.png) [@chsims1](https://community.volumio.com/u/chsims1)\
**Post date:** [July 24, 2017, 10:14am UTC](https://community.volumio.com/t/nodejs-debug-with-webstrom-org-jetbrains-v8-protocol-v8pro/6475/3 "2017-07-24T10:14:51Z")

</div>

> [@](#):
>
> sudo apt-get upgrade

You really should avoid doing this as it is likely to cause problems with your Volumio installation.

---

<div class="post-metadata">

**Author:** ![tonni6030](https://community.volumio.com/letter_avatar_proxy/v4/letter/t/b19c9b/32.png) [@tonni6030](https://community.volumio.com/u/tonni6030)\
**Post date:** [February 27, 2025, 10:39am UTC](https://community.volumio.com/t/nodejs-debug-with-webstrom-org-jetbrains-v8-protocol-v8pro/6475/4 "2025-02-27T10:39:18Z")

</div>

> [@eliaweiss](#):
>
> I’m trying to debug a Remote NodeJs app (Volumio)
> 
> I’m able to set break points and step over the code, but when I try to inspect a value of any variable I get
> 
> org.jetbrains.v8.protocol.V8ProtocolReaderImpl$Mi cannot be cast to org.jetbrains.v8.protocol.ValueHandle
> 
> I assume it’s some version issues between the local and remote env, but any help would be appreciated.

You’re encountering a compatibility issue between your local debugger and the remote Node.js environment. The error indicates a mismatch in the V8 protocol, likely due to different Node.js versions between your local and remote setups. Ensure both environments are running the same Node.js version, as differences in the V8 engine can cause debugging issues. If you’re using WebStorm, update both the IDE and the Node.js plugin to the latest versions. Also, try adjusting the debugging setup—using --inspect instead of --inspect-brk may help. If the problem persists, consider using Chrome DevTools for remote debugging, as it might provide better compatibility.
