To help debugging you can create usual "block body" to your arrow function and later convert it back
This extension is available for free in the Visual Studio Code Marketplace
Debug arrow function:
- Highlight the function body
- Press Cmd+Shift+a
- The output is expanded function body
Compact function body:
- Highlight the function body
- Press Cmd+Shift+i
- The output is concise function body