Skip to content

Debugging fails when project path contains spaces since @nativescript/webpack v5.0.25 #11179

@yaosheng79

Description

@yaosheng79

Issue Description

Since version 5.0.25 of @nativescript/webpack, debugging NativeScript applications becomes impossible if the project is located in a directory with spaces in its name (e.g., /users/name/my tns app/).

I can not set break point, and the app never pause as well

Reproduction

  1. create a new project in a directory that includes spaces:
    ns create "my tns app"
    choose js helloworld template
  2. open it in VS Code
  3. add a break point in app/main-view-model.js
  4. from VS Code -> Run and debug -> Launch on android
  5. what for the app running in android emulator

the break point grey out, and the app is not debuggable

Relevant log output (if applicable)

Environment

No response

Please accept these terms

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions