Open supersonicclay opened 5 years ago
Re-opening since we are able to reproduce with an internal app, and using VS Code. Potentially related to source maps?
I believe this case was due to a top-level jest dependency declaration, we shouldn't have those.
@KevinGrandon I removed jest
from top level devDependencies
and it still doesn't hit breakpoints in my tests with VS Code.
Summary of current issues:
Current hunch is that there is a sourcemap or configuration mismatch.
Note: These manifest when opening upt he "dedicated DevTools for Node" as well.
Potentially useful resource: https://stackoverflow.com/questions/50765353/visual-studio-code-breakpoint-appearing-in-wrong-place
Type of issue
Bug
Description
Unable to debug with
fusion test --watch --debug
This works:
Neither of these works:
It hits the breakpoint in
node_modules/jest/bin/jest.js
, but not in my actual test. I'm using latest fusion-* versions.Your environment
fusion-cli version: 1.15.1
Node.js version (
node --version
): 8.12.0npm version (
npm --version
): 6.4.1Operating System: OSX