We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d87405a commit d857d9bCopy full SHA for d857d9b
actions/start.action.ts
@@ -175,21 +175,11 @@ export class StartAction extends BuildAction {
175
typeof debug === 'string' ? `--inspect=${debug}` : '--inspect';
176
processArgs.unshift(inspectFlag);
177
}
178
- const sourceMapsRegisterPath = this.getSourceMapSupportPkg();
179
- if (sourceMapsRegisterPath !== undefined) {
180
- processArgs.unshift(`-r "${sourceMapsRegisterPath}"`);
181
- }
+ processArgs.unshift('--enable-source-maps');
+
182
return spawn(binaryToRun, processArgs, {
183
stdio: 'inherit',
184
shell: true,
185
});
186
187
-
188
- private getSourceMapSupportPkg() {
189
- try {
190
- return require.resolve('source-map-support/register');
191
- } catch {
192
- return undefined;
193
194
195
0 commit comments