File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,8 @@ DAP compliant debugger
122
122
123
123
#### Vim
124
124
125
- - Start the node process with inspect-brk ` yarn compile && node --inspect-brk ./dist/src/index.js ` in one terminal.
125
+ - Start the node process with inspect-brk `yarn bundle && node
126
+ --enable-source-maps --inspect-brk ./dist/src/index.js` in one terminal.
126
127
- Open src/index.ts ` vim ./src/index.ts ` in another terminal.
127
128
- Set breakpoint in line 6 (F9 is the default mapping)
128
129
- Start vimspector by pressing F5
@@ -137,7 +138,9 @@ DAP compliant debugger
137
138
138
139
#### Vim
139
140
140
- - Start the node process with inspect-brk ` yarn compile && node --inspect-brk --test --test-reporter spec ` in one terminal.
141
+ - Start the node process with inspect-brk `node --enable-source-maps
142
+ --inspect-brk --no-lazy ./node_modules/.bin/jest --runInBand .` in one
143
+ terminal.
141
144
- Open src/index.ts ` vim ./src/hello.test.ts ` in another terminal.
142
145
- Set breakpoint in line 8 (F9 is the default mapping)
143
146
- Start vimspector by pressing F5
You can’t perform that action at this time.
0 commit comments