You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks to the discussion group, I have the following setup which works well for running mocha tests in a .ts file (from the comand line) in a project with type: "module":
package.json
I would like to attach the debugger to the tests, but the following visual studio code launch.json resuts in Unknown file extension ".ts". I added the env argument (1st line in the code below) assuming that the execution context was no longer able to find the tsconfig file, but this has not helped
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Thanks to the discussion group, I have the following setup which works well for running mocha tests in a .ts file (from the comand line) in a project with
type: "module"
:package.json
tsconfig.json
.mochrc.json
I would like to attach the debugger to the tests, but the following visual studio code launch.json resuts in
Unknown file extension ".ts"
. I added theenv
argument (1st line in the code below) assuming that the execution context was no longer able to find the tsconfig file, but this has not helpedDoes anyone know how I might fix this setup so that the debugger can attach to the moch tests? Thank you very much
Beta Was this translation helpful? Give feedback.
All reactions