@@ -692,11 +692,7 @@ const testAll = (isDlvDap: boolean) => {
692
692
} ) ;
693
693
694
694
suite ( 'set current working directory' , ( ) => {
695
- test ( 'should debug program with cwd set' , async function ( ) {
696
- if ( isDlvDap && dlvDapSkipsEnabled ) {
697
- this . skip ( ) ; // Fixed in https://github.com/go-delve/delve/pull/2360
698
- }
699
-
695
+ test ( 'should debug program with cwd set' , async ( ) => {
700
696
const WD = path . join ( DATA_ROOT , 'cwdTest' ) ;
701
697
const PROGRAM = path . join ( WD , 'cwdTest' ) ;
702
698
const FILE = path . join ( PROGRAM , 'main.go' ) ;
@@ -735,11 +731,7 @@ const testAll = (isDlvDap: boolean) => {
735
731
await assertLocalVariableValue ( 'strdat' , '"Goodbye, World."' ) ;
736
732
} ) ;
737
733
738
- test ( 'should debug file program with cwd set' , async function ( ) {
739
- if ( isDlvDap && dlvDapSkipsEnabled ) {
740
- this . skip ( ) ; // Fixed in https://github.com/go-delve/delve/pull/2360
741
- }
742
-
734
+ test ( 'should debug file program with cwd set' , async ( ) => {
743
735
const WD = path . join ( DATA_ROOT , 'cwdTest' ) ;
744
736
const PROGRAM = path . join ( WD , 'cwdTest' , 'main.go' ) ;
745
737
const FILE = PROGRAM ;
@@ -1805,6 +1797,8 @@ const testAll = (isDlvDap: boolean) => {
1805
1797
1806
1798
async function initializeDebugConfig ( config : DebugConfiguration ) {
1807
1799
if ( isDlvDap ) {
1800
+ config [ 'debugAdapter' ] = 'dlv-dap' ;
1801
+ // Log the output for easier test debugging.
1808
1802
config [ 'logOutput' ] = 'dap' ;
1809
1803
config [ 'showLog' ] = true ;
1810
1804
}
0 commit comments