File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -198,12 +198,13 @@ export async function debugTests(
198198 } ,
199199 ) . then (
200200 ( fullfilled ) => {
201+ log . info ( '[DEBUG] Browser debugger started' )
201202 metadata . rpc . onBrowserDebug ( fullfilled ) . catch ( ( ) => { } )
202203 if ( fullfilled ) {
203- log . info ( '[DEBUG] Secondary debug launch config started ' )
204+ log . info ( '[DEBUG] Browser debugger attached ' )
204205 }
205206 else {
206- log . error ( '[DEBUG] Secondary debug launch config failed ' )
207+ log . error ( '[DEBUG] Browser debugger failed to attach ' )
207208 }
208209 } ,
209210 ( error ) => {
Original file line number Diff line number Diff line change @@ -78,6 +78,9 @@ export async function initVitest(
7878 meta . pnpLoader ,
7979 ]
8080 : [ ] ,
81+ inspect : typeof data . debug === 'object'
82+ ? `${ data . debug . host } :${ data . debug . port } `
83+ : undefined ,
8184 }
8285 const vitest = await vitestModule . createVitest (
8386 'test' ,
You can’t perform that action at this time.
0 commit comments