I have yarn2 (berry) project with workspaces and I'm using ts-node to run each workspace (package). How do I set up the vscode launch.json to be be able to debug a workspace? For clarification, I have a global tsconfig with general configuration and individual tsconfig inside each worksapce extending the global tsconfig to specify the input/output directory for each package.
I tried to play around with the launch.json configuration for nodejs but all my tries are failing. Setting the runtimeExecutable to "yarn" and tried different runtimeArgs values.
1.4m articles
1.4m replys
5 comments
57.0k users