File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -5,14 +5,13 @@ import type {
5
5
import * as React from 'react' ;
6
6
7
7
import { AutoGenLaunchAttachProvider } from '@atom-ide-community/nuclide-debugger-common/AutoGenLaunchAttachProvider' ;
8
- import { VsAdapterTypes , VsAdapterNames } from '@atom-ide-community/nuclide-debugger-common' ;
9
8
10
9
export function createNodeDebuggerProvider ( ) : NuclideDebuggerProvider {
11
10
return {
12
- type : VsAdapterTypes . NODE ,
11
+ type : 'node' ,
13
12
getLaunchAttachProvider : connection => {
14
13
return new AutoGenLaunchAttachProvider (
15
- VsAdapterNames . NODE ,
14
+ 'Node' ,
16
15
connection ,
17
16
getNodeConfig ( ) ,
18
17
) ;
@@ -112,7 +111,7 @@ function getNodeConfig(): AutoGenConfig {
112
111
return {
113
112
launch : {
114
113
launch : true ,
115
- vsAdapterType : VsAdapterTypes . NODE ,
114
+ vsAdapterType : 'node' ,
116
115
properties : [
117
116
program ,
118
117
cwd ,
@@ -144,7 +143,7 @@ function getNodeConfig(): AutoGenConfig {
144
143
} ,
145
144
attach : {
146
145
launch : false ,
147
- vsAdapterType : VsAdapterTypes . NODE ,
146
+ vsAdapterType : 'node' ,
148
147
properties : [ port ] ,
149
148
scriptExtension : '.js' ,
150
149
header : < p > Attach to a running node.js process</ p > ,
You can’t perform that action at this time.
0 commit comments