File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import type {
3
3
NuclideDebuggerProvider ,
4
4
} from '@atom-ide-community/nuclide-debugger-common/types' ;
5
5
import * as React from 'react' ;
6
- import { resolve as pathResolve } from 'path' ;
6
+ import path from 'path' ;
7
7
import { AutoGenLaunchAttachProvider } from '@atom-ide-community/nuclide-debugger-common/AutoGenLaunchAttachProvider' ;
8
8
9
9
export function createNodeDebuggerProvider ( ) : NuclideDebuggerProvider {
@@ -111,10 +111,10 @@ function getNodeConfig(): AutoGenConfig {
111
111
const adapterExecutable = {
112
112
command : 'node' ,
113
113
args : [
114
- pathResolve ( './ VendorLib/vscode-node-debug2/out/src/nodeDebug.js')
114
+ path . resolve ( path . join ( __dirname , ' VendorLib/vscode-node-debug2/out/src/nodeDebug.js') )
115
115
] ,
116
116
}
117
- const adapterRoot = pathResolve ( './ VendorLib/vscode-node-debug2')
117
+ const adapterRoot = path . resolve ( path . join ( __dirname , ' VendorLib/vscode-node-debug2') )
118
118
119
119
return {
120
120
launch : {
You can’t perform that action at this time.
0 commit comments